Skip to content

Commit

Permalink
ajm/temp fix for node v16 (#1878)
Browse files Browse the repository at this point in the history
* temporary fix for blueprint issue on node v16 plus add n 12 n 14 and n 16

* temporary node-sass fix for node v16

* change so that github action uses node 14
  • Loading branch information
Anthony Moraghan authored Jun 13, 2022
1 parent ec1edf5 commit 591154a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ jobs:
check-formatting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '14'
cache: 'npm'
- run: npm install
- run: npm run checkformat
6 changes: 5 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pipeline {
unstash "protobuf"
unstash "wasm_libs"
sh 'rm -rf node_modules build'
sh 'n 12'
sh 'n exec 12 node -v'
sh 'n exec 12 npm install'
sh 'n exec 12 npm run build-docker'
Expand All @@ -40,6 +41,7 @@ pipeline {
unstash "protobuf"
unstash "wasm_libs"
sh 'rm -rf node_modules build'
sh 'n 14'
sh 'n exec 14 node -v'
sh 'n exec 14 npm install'
sh 'n exec 14 npm run build-docker'
Expand All @@ -55,8 +57,10 @@ pipeline {
unstash "protobuf"
unstash "wasm_libs"
sh 'rm -rf node_modules build'
sh 'n 16'
sh 'n exec 16 node -v'
sh 'n exec 16 npm install'
sh 'n exec 16 npm uninstall node-sass --legacy-peer-deps'
sh 'n exec 16 npm install --save-dev --legacy-peer-deps sass'
sh 'n exec 16 npm run build-docker'
}
}
Expand Down

0 comments on commit 591154a

Please sign in to comment.