Skip to content

Commit 4523933

Browse files
committed
ci: Skip running compressed-size builds twice
1 parent 414c870 commit 4523933

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/size.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ jobs:
2020
- uses: preactjs/compressed-size-action@v2
2121
with:
2222
repo-token: '${{ secrets.GITHUB_TOKEN }}'
23+
# Our `prepare` script already builds the app post-install,
24+
# building it again would be redundant
25+
build-script: 'npm run --if-present noop'

0 commit comments

Comments
 (0)