fix(ci): keep scheduled provenance audits on the verified npm toolchain

This commit is contained in:
haelyra committed 2026-11-16 14:38:50 -05:00
1 parent f7aa27b657
commit f17308d50f
3 files changed
+47

No files matched your search

+9
View File
@@ -34,7 +34,16 @@ jobs:
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: '20.x'
- name: Install pinned npm provenance verifier
env:
npm_config_cache: ${{ runner.temp }}/ecc-security-npm-cache
run: |
npm install --global npm@11.21.2 --ignore-scripts --no-audit --no-fund
test "$(npm --version)" = "11.21.2"
- name: Run security audit
env:
npm_config_cache: ${{ runner.temp }}/ecc-security-npm-cache
run: |
if [ -f package-lock.json ]; then
npm ci --ignore-scripts
+11
View File
@@ -29,10 +29,21 @@ jobs:
with:
node-version: '20.x'
- name: Install pinned npm provenance verifier
env:
npm_config_cache: ${{ runner.temp }}/ecc-security-npm-cache
run: |
npm install --global npm@11.21.2 --ignore-scripts --no-audit --no-fund
test "$(npm --version)" = "11.21.2"
- name: Install dependencies without lifecycle scripts
env:
npm_config_cache: ${{ runner.temp }}/ecc-security-npm-cache
run: npm ci --ignore-scripts
- name: Verify registry signatures and advisories
env:
npm_config_cache: ${{ runner.temp }}/ecc-security-npm-cache
run: |
npm audit signatures
npm audit --omit=dev --audit-level=high