88
99env :
1010 commitsha : " ${{ github.event.inputs.commitsha || github.sha }}"
11- NODE_VERSION : 18.17.x
1211
1312jobs :
1413 build-using-public-deps :
@@ -21,30 +20,36 @@ jobs:
2120 with :
2221 ref : " ${{ env.commitsha }}"
2322
23+ - name : Get node version
24+ id : get_node_version
25+ run : echo "node_version=$(cat NODE_VERSION)" >> $GITHUB_OUTPUT
26+
2427 - uses : actions/setup-node@v4
2528 with :
26- node-version : " ${{ env.NODE_VERSION }}"
29+ node-version : " ${{ steps.get_node_version.outputs.node_version }}"
2730 registry-url : ' https://registry.npmjs.org'
2831
2932 - name : Remove NPM workspaces
3033 run : rm package.json && rm package-lock.json
3134
35+ # Not linting or testing because some of those tools require the
36+ # workspace dependencies. eg. eslint and its plugins.
3237 - name : Build signalling using published packages only
3338 if : always()
3439 working-directory : Signalling
35- run : npm install && npm run build && npm run lint
40+ run : npm install && npm run build
3641 - name : Build Wilbur using published packages only
3742 if : always()
3843 working-directory : SignallingWebServer
39- run : npm install && npm run build && npm run lint
44+ run : npm install && npm run build
4045 - name : Build Frontend/library using published packages only
4146 if : always()
4247 working-directory : Frontend/library
43- run : npm install && npm run build && npm run lint && npm run test
48+ run : npm install && npm run build
4449 - name : Build Frontend/ui-library using published packages only
4550 if : always()
4651 working-directory : Frontend/ui-library
47- run : npm install && npm run build && npm run lint
52+ run : npm install && npm run build
4853 - name : Build Frontend/implementations/typescript using published packages only
4954 if : always()
5055 working-directory : Frontend/implementations/typescript
0 commit comments