File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -11,17 +11,21 @@ jobs:
1111 tests :
1212 name : Tests
1313 runs-on : ubuntu-latest
14+ strategy :
15+ matrix :
16+ # https://github.com/nodejs/Release#release-schedule
17+ node : [ 14, 16 ]
1418 steps :
1519 - uses : actions/checkout@v3
1620 - uses : actions/setup-node@v3
1721 with :
18- node-version : ' 16.x '
22+ node-version : ${{ matrix.node }}
1923 - name : " Run tests"
2024 env :
2125 OKTA_DUMMY_CI_PW : ${{ secrets.OKTA_DUMMY_CI_PW }}
2226 WCS_DUMMY_CI_PW : ${{ secrets.WCS_DUMMY_CI_PW }}
2327 run : |
24- npm install
28+ npm ci
2529 ci/run_dependencies.sh
2630 npm test
2731 ci/stop_dependencies.sh
3539 # Setup .npmrc file to publish to npm
3640 - uses : actions/setup-node@v3
3741 with :
38- node-version : ' 16.x'
42+ # latest lts
43+ node-version : 18
3944 registry-url : ' https://registry.npmjs.org'
4045 - run : npm ci && npm run build
4146 - run : npm publish
You can’t perform that action at this time.
0 commit comments