CI: Test and build with Node 17

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-11-11 19:39:22 +01:00
parent 9ddd664691
commit be3a4e2c88
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -21,10 +21,10 @@ jobs:
- yarn run format
steps:
- uses: actions/checkout@v2
- name: Use Node.js 16
- name: Use Node.js 17
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 17
cache: 'yarn'
- run: yarn install --immutable
- run: ${{matrix.command}}
@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x ]
node-version: [12.x, 14.x, 16.x, 17.x ]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
@ -49,10 +49,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js 16
- name: Use Node.js 17
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 17
cache: 'yarn'
- run: yarn install --immutable
- run: yarn run test:cov
@ -67,10 +67,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Use Node.js 16
- name: Use Node.js 17
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 17
cache: 'yarn'
- run: yarn install --immutable
- run: yarn run test:e2e:cov