chore: try to defend against cache poisoning in PR

This commit is contained in:
jamesread 2026-05-19 22:03:30 +01:00
parent a327cf18b8
commit 14dd0f6b56
1 changed files with 6 additions and 1 deletions

View File

@ -28,12 +28,17 @@ jobs:
image: tonistiigi/binfmt:latest
platforms: arm64,arm
- name: Setup node
- name: Setup node (npm cache)
if: github.event_name != 'pull_request'
uses: actions/setup-node@v6.4.0
with:
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Setup node
if: github.event_name == 'pull_request'
uses: actions/setup-node@v6.4.0
- name: Setup Go
uses: actions/setup-go@v6
with: