Skip to content

Commit efb708e

Browse files
committed
🐛(CI) fix npm fallback on bundle-size-check
Adding install-script to ensure Yarn is used explicitly during compressed-size-action to prevent npm peer conflict.
1 parent ec5c5c2 commit efb708e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/impress-frontend.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,13 @@ jobs:
177177
uses: preactjs/compressed-size-action@v2
178178
with:
179179
repo-token: "${{ secrets.GITHUB_TOKEN }}"
180-
build-script: "build"
181-
pattern: "./out/**/*.{css,js,html}"
180+
build-script: "app:build"
181+
pattern: "./apps/impress/out/**/*.{css,js,html}"
182182
exclude: "{**/*.map,**/node_modules/**}"
183183
minimum-change-threshold: 500
184184
compression: "gzip"
185-
cwd: "./src/frontend/apps/impress"
185+
cwd: "./src/frontend"
186186
show-total: true
187187
strip-hash: "\\b\\w+\\."
188188
omit-unchanged: true
189+
install-script: "yarn install --frozen-lockfile"

0 commit comments

Comments
 (0)