diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index 8b8e08a66a..82243a7b45 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -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 diff --git a/Jenkinsfile b/Jenkinsfile index e7b0143fe3..bd04e673e1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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' @@ -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' @@ -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' } }