Skip to content

Commit fe50026

Browse files
committed
fix: use latest compressed-size-action commit with updated dependencies
- Update to commit 2a937a1 which includes Node 20 support and newer action dependencies - This should resolve the deprecated download-artifact@v3 error - Update script to use specific commit hash instead of non-existent v3 tag
1 parent cb2903b commit fe50026

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-perf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
node-version: "18"
2020
cache: yarn
21-
- uses: preactjs/compressed-size-action@v3
21+
- uses: preactjs/compressed-size-action@2a937a1
2222
with:
2323
repo-token: ${{ secrets.GITHUB_TOKEN }}
2424
build-script: build

update-actions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ find .github/workflows -name "*.yml" -o -name "*.yaml" | xargs sed -i '' 's/Fire
2020
# Update machine-learning-apps action from @master to specific version
2121
find .github/workflows -name "*.yml" -o -name "*.yaml" | xargs sed -i '' 's/machine-learning-apps\/actions-app-token@master/machine-learning-apps\/actions-app-token@v1/g'
2222

23-
# Update compressed-size-action from v2 to v3
24-
find .github/workflows -name "*.yml" -o -name "*.yaml" | xargs sed -i '' 's/preactjs\/compressed-size-action@v2/preactjs\/compressed-size-action@v3/g'
23+
# Update compressed-size-action from v2 to latest commit (includes Node 20 and updated dependencies)
24+
find .github/workflows -name "*.yml" -o -name "*.yaml" | xargs sed -i '' 's/preactjs\/compressed-size-action@v2/preactjs\/compressed-size-action@2a937a1/g'
2525

2626
echo "Done updating GitHub Actions!"
2727

0 commit comments

Comments
 (0)