We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65e92f5 commit 4ac4eceCopy full SHA for 4ac4ece
1 file changed
.github/workflows/npm-build.yml
@@ -21,11 +21,16 @@ jobs:
21
- name: Use Node.js ${{ matrix.node-version }}
22
uses: actions/setup-node@v3
23
with:
24
- node-version: ${{ matrix.node-version }}
25
-
26
- - name: Install packages
27
- working-directory: ./imxweb
28
- run: npm install
+ node-version: ${{ matrix.node-version }}
+ cache: npm
+ cache-dependency-path: imxweb/package-lock.json
+
+ - name: Install packages (clean, reproducible)
29
+ working-directory: ./imxweb
30
+ shell: bash
31
+ run: |
32
+ set -euo pipefail
33
+ npm ci || (rm -rf node_modules package-lock.json && npm install)
34
35
- name: Build qbm
36
working-directory: ./imxweb
0 commit comments