File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 1313 runs-on : ubuntu-latest
1414 strategy :
1515 matrix :
16+ # all LTSes + current
1617 # https://github.com/nodejs/Release#release-schedule
17- node : [ 14, 16, 18 ]
18+ node : [ 14, 16, 18, 19 ]
1819 steps :
1920 - uses : actions/checkout@v3
2021 - uses : actions/setup-node@v3
@@ -24,13 +25,14 @@ jobs:
2425 env :
2526 OKTA_DUMMY_CI_PW : ${{ secrets.OKTA_DUMMY_CI_PW }}
2627 WCS_DUMMY_CI_PW : ${{ secrets.WCS_DUMMY_CI_PW }}
27- NODE_14 : ${{ matrix.node == 14 }}
28- NODE_14_2 : ${{ matrix.node }} == 14
29- NODE_14_3 : matrix.node == 14
30- NODE_14_4 : ${{ matrix.node }}
28+ # for some reason graphql is not available on node 14 if not explicitly installed
3129 run : |
32- if ${{ matrix.node == 14 }}; then echo "Hello"; fi
33- echo "Hello2"
30+ npm ci
31+ if ${{ matrix.node == 14 }}; then npm install graphql; fi
32+ ci/run_dependencies.sh
33+ npm test
34+ ci/stop_dependencies.sh
35+ npm run build
3436 deploy :
3537 needs : Tests
3638 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
4042 # Setup .npmrc file to publish to npm
4143 - uses : actions/setup-node@v3
4244 with :
43- # latest lts
45+ # latest LTS
4446 node-version : 18
4547 registry-url : ' https://registry.npmjs.org'
4648 - run : npm ci && npm run build
You can’t perform that action at this time.
0 commit comments