Skip to content

Commit

Permalink
ci: upgrade actions versions in bundle size job (#1772)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 committed May 1, 2024
1 parent ef3ccb1 commit 89262cb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
pull-requests: write

jobs:
bundle-size-new:
bundle-size:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -48,25 +48,25 @@ jobs:
yarn workspace ott-client run build | sed -r 's/([a-zA-Z]+-)[^ .]+(\.[^ ]+)/\1hash\2/' | tee /tmp/bundle-size.txt
- name: Upload bundle size
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: bundle-size-${{ matrix.ref }}
path: /tmp/bundle-size.txt

bundle-size-compare:
runs-on: ubuntu-latest
needs: bundle-size-new
needs: bundle-size
strategy:
matrix:
node-version: [18.x]
steps:
- name: Download bundle size (base ref)
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: bundle-size-${{ github.event.pull_request.base.ref }}
path: /tmp/bundle-size-base.txt
- name: Download bundle size (head ref)
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: bundle-size-${{ github.event.pull_request.head.ref }}
path: /tmp/bundle-size-head.txt
Expand Down

0 comments on commit 89262cb

Please sign in to comment.