Skip to content

Commit 88c2c02

Browse files
Do not use npm cache for release builds
1 parent 2a8f6d3 commit 88c2c02

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ jobs:
2929
node-version: ${{ matrix.node-version }}
3030
registry-url: 'https://registry.npmjs.org'
3131
always-auth: true
32-
cache: 'npm'
32+
# Never trust the cache for release builds!
33+
cache: ''
3334
- run: npm ci
3435
- name: Publish latest version
3536
if: steps.release.outputs.tag == ''

0 commit comments

Comments
 (0)