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:
11
11
tests :
12
12
name : Tests
13
13
runs-on : ubuntu-latest
14
+ strategy :
15
+ matrix :
16
+ # https://github.com/nodejs/Release#release-schedule
17
+ node : [ 14, 16 ]
14
18
steps :
15
19
- uses : actions/checkout@v3
16
20
- uses : actions/setup-node@v3
17
21
with :
18
- node-version : ' 16.x '
22
+ node-version : ${{ matrix.node }}
19
23
- name : " Run tests"
20
24
env :
21
25
OKTA_DUMMY_CI_PW : ${{ secrets.OKTA_DUMMY_CI_PW }}
22
26
WCS_DUMMY_CI_PW : ${{ secrets.WCS_DUMMY_CI_PW }}
23
27
run : |
24
- npm install
28
+ npm ci
25
29
ci/run_dependencies.sh
26
30
npm test
27
31
ci/stop_dependencies.sh
35
39
# Setup .npmrc file to publish to npm
36
40
- uses : actions/setup-node@v3
37
41
with :
38
- node-version : ' 16.x'
42
+ # latest lts
43
+ node-version : 18
39
44
registry-url : ' https://registry.npmjs.org'
40
45
- run : npm ci && npm run build
41
46
- run : npm publish
You can’t perform that action at this time.
0 commit comments