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: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set Node.js 12.x - name: Setup Node 18
uses: actions/setup-node@v1 uses: actions/setup-node@v3
with: with:
node-version: 12.x node-version: 18.x
cache: 'npm'
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci

View File

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