We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
npm install
1 parent 5dfcdb7 commit 76d20c8Copy full SHA for 76d20c8
.github/workflows/test_node.yml
@@ -48,9 +48,17 @@ jobs:
48
with:
49
node-version-file: package.json
50
51
- - name: Install dependencies
+ - name: Install dependencies via npm ci
52
+ if: ${{ !inputs.triggered-by-release }}
53
run: npm ci --ignore-scripts
54
55
+ # For pushes to the release branch, we need to install the dependencies via `npm install`
56
+ # because the `package-lock.json` is not updated with the new versions of the optional
57
+ # dependencies yet. We also must skip the fallback download via --ignore-scripts.
58
+ - name: Install dependencies via npm install (for pushes to release branch)
59
+ if: ${{ inputs.triggered-by-release }}
60
+ run: npm install --omit=optional --ignore-scripts
61
+
62
- name: Build
63
run: npm run build
64
0 commit comments