Skip to content

Commit 11b26ad

Browse files
committed
fix(ci): npm cache verify/clean --force/verify #656
Potentially fixing #656. Definitely improves the situation but it is impossible to tell in advance if this will make all the other- wise non-reproducible issues go away. Fingers crossed. An attempt to fix the mysterious issue with npm ci Based on a true story: https://stackoverflow.com/a/15483897 CI failure logs: https://github.com/hyperledger/cactus/runs/2179881505?check_suite_focus=true#step:5:8 Logs ------ npm ci shell: /usr/bin/bash -e {0} env: JAVA_HOME_8.0.275_x64: /opt/hostedtoolcache/jdk/8.0.275/x64 JAVA_HOME: /opt/hostedtoolcache/jdk/8.0.275/x64 JAVA_HOME_8_0_275_X64: /opt/hostedtoolcache/jdk/8.0.275/x64 npm ERR! cb() never called! npm ERR! This is an error with npm itself. Please report this error at: npm ERR! <https://npm.community> Signed-off-by: Peter Somogyvari <[email protected]>
1 parent 675d788 commit 11b26ad

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ jobs:
6161
- run: npm config delete proxy
6262
- run: npm config delete http-proxy
6363
- run: npm config delete https-proxy
64+
65+
# https://stackoverflow.com/a/15483897
66+
- run: npm cache verify
67+
- run: npm cache clean --force
68+
- run: npm cache verify
69+
6470
- run: npm ci
6571
- run: ./node_modules/.bin/lerna bootstrap
6672
- run: npm run build:dev:backend

0 commit comments

Comments
 (0)