run test only on node 16 (#38)

* run test on node 16 and LTS (18)

* specify the required Node.js version

* run only on node 16
This commit is contained in:
Artem Vasilev 2022-11-10 18:30:19 +03:00 committed by GitHub
parent aab6c56ca9
commit 319068ffdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22158 additions and 22035 deletions

View File

@ -13,7 +13,7 @@ jobs:
strategy: strategy:
matrix: matrix:
node-version: [ lts/* ] node-version: [ 16 ]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
@ -21,6 +21,7 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
check-latest: true
- name: Clean install, build, test - name: Clean install, build, test
run: | run: |
@ -33,10 +34,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Use Node.js latest - name: Use Node.js 16
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: latest node-version: 16
check-latest: true
- name: Clean install, lint - name: Clean install, lint
run: | run: |
npm ci npm ci

2875
package-lock.json generated Normal file → Executable file

File diff suppressed because it is too large Load Diff

View File

@ -83,5 +83,8 @@
"typescript": "3.8.3", "typescript": "3.8.3",
"webpack": "4.42.1", "webpack": "4.42.1",
"webpack-cli": "3.3.11" "webpack-cli": "3.3.11"
},
"engines": {
"node": "~16"
} }
} }