-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b22362d
commit 096f221
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|
@@ -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 | ||
|