Skip to content

Commit

Permalink
Cleaned up size-limit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Luna-Klatzer committed Oct 21, 2023
1 parent b22362d commit 096f221
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Size Limit"
on: pull_request
jobs:
size:
size-limit:
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -15,16 +15,16 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/[email protected]
- name: Install PNPM & dev dependencies
uses: pnpm/[email protected]
with:
version: 8.x.x
run_install: |
- recursive: true
- name: Build project
- name: Build project to allow for browserify to run
run: pnpm build
- name: Setup size-limit
run: pnpm i
- uses: andresz1/[email protected]
- name: Run size-limit
uses: andresz1/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
script: pnpm exec size-limit --json
Expand Down

0 comments on commit 096f221

Please sign in to comment.