Skip to content

Commit

Permalink
chore(ci): add export-size-action (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Sep 18, 2022
1 parent e5ce2a8 commit ce89bff
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/export-sizes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Export Size Comment
on:
pull_request:
branches:
- main
paths-ignore:
- '**/README.md'
jobs:
size:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2.2.1

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
cache: "pnpm"
- uses: antfu/export-size-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ce89bff

Please sign in to comment.