test: Add Node 20 to CI matrix (#1445)
* test: Add Node 20 to CI matrix * refactor: removed eslint disable * refactor: updated validate workflow continue-on-error node version
This commit is contained in:
10
.github/workflows/validate.yml
vendored
10
.github/workflows/validate.yml
vendored
@@ -9,13 +9,15 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node: [18, 20]
|
||||||
|
continue-on-error: ${{ matrix.node == 20 }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Setup Nodejs Env
|
- uses: actions/setup-node@v4
|
||||||
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
|
|
||||||
- uses: actions/setup-node@v3
|
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VER }}
|
node-version: ${{ matrix.node }}
|
||||||
- run: make validate.ci
|
- run: make validate.ci
|
||||||
- name: Upload coverage
|
- name: Upload coverage
|
||||||
uses: codecov/codecov-action@v4
|
uses: codecov/codecov-action@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user