Security: Do not use npm cache to prevent cache poisoning

This commit is contained in:
Ralph Slooten
2026-05-28 21:36:01 +12:00
parent 3fb1b5e59c
commit c1c98442df
2 changed files with 0 additions and 2 deletions

View File

@@ -27,7 +27,6 @@ jobs:
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
cache: 'npm'
- run: echo "Building assets for ${{ github.ref_name }}"
- run: npm ci
- run: npm run package

View File

@@ -41,7 +41,6 @@ jobs:
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
cache: 'npm'
- name: Install JavaScript dependencies
if: startsWith(matrix.os, 'ubuntu') == true
run: npm ci