Use node 18 + caching in CI

This commit is contained in:
Konrad Pabjan 2023-01-04 19:53:31 +00:00
parent 8df9014c0c
commit ef2e625d3a
2 changed files with 8 additions and 6 deletions

View file

@ -24,10 +24,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set Node.js 12.x
uses: actions/setup-node@v1
- name: Setup Node 18
uses: actions/setup-node@v3
with:
node-version: 12.x
node-version: 18.x
cache: 'npm'
- name: Install dependencies
run: npm ci

View file

@ -23,10 +23,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Set Node.js 12.x
uses: actions/setup-node@v1
- name: Setup Node 18
uses: actions/setup-node@v3
with:
node-version: 12.x
node-version: 18.x
cache: 'npm'
- name: npm install
run: npm install