Update GHA workflow
This commit is contained in:
parent
75aad0aa2b
commit
430d173ce8
1 changed files with 6 additions and 4 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
|
@ -13,14 +13,16 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node-version: [^12.22, ^14.17, ^16.4, ^17]
|
||||
node-version: [^14.19, ^16.15, ^18]
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: npm install --global npm@8
|
||||
- name: Install npm@8 for Node.js 14
|
||||
if: matrix.node-version == '^14.19'
|
||||
run: npm install --global npm@^8
|
||||
- run: npm install --no-audit
|
||||
- run: npm test
|
||||
- uses: codecov/codecov-action@v2
|
||||
|
|
|
|||
Loading…
Reference in a new issue