Skip to content

Commit

Permalink
chore(project): update CI to check size
Browse files Browse the repository at this point in the history
Signed-off-by: Raí Siqueira <[email protected]>
  • Loading branch information
raisiqueira committed Jul 23, 2022
1 parent 16809e3 commit e47fe48
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,21 @@ on: [pull_request]
jobs:
size:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['16.x']
os: [ubuntu-latest]
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install PNPM
run: npm i -g pnpm
- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
build_script: "build:lib"

1 comment on commit e47fe48

@vercel
Copy link

@vercel vercel bot commented on e47fe48 Jul 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.