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