mirror of
https://github.com/crypto-pro-web/crypto-pro-js.git
synced 2024-11-23 16:44:59 +03:00
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:
parent
aab6c56ca9
commit
319068ffdd
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [ lts/* ]
|
||||
node-version: [ 16 ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@ -21,6 +21,7 @@ jobs:
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
check-latest: true
|
||||
|
||||
- name: Clean install, build, test
|
||||
run: |
|
||||
@ -33,10 +34,12 @@ jobs:
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js latest
|
||||
- name: Use Node.js 16
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: latest
|
||||
node-version: 16
|
||||
check-latest: true
|
||||
|
||||
- name: Clean install, lint
|
||||
run: |
|
||||
npm ci
|
||||
|
2875
package-lock.json
generated
Normal file → Executable file
2875
package-lock.json
generated
Normal file → Executable file
File diff suppressed because it is too large
Load Diff
@ -83,5 +83,8 @@
|
||||
"typescript": "3.8.3",
|
||||
"webpack": "4.42.1",
|
||||
"webpack-cli": "3.3.11"
|
||||
},
|
||||
"engines": {
|
||||
"node": "~16"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user