chore: upgrade pnpm version #12
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
name: SizeCompare CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, reopened, synchronize, ready_for_review] | |
workflow_dispatch: | |
jobs: | |
size-compare: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
- name: Use Node ${{ matrix.node }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'pnpm' | |
- name: Install deps | |
run: pnpm install | |
- name: Build | |
run: pnpm build | |
- name: 🚛 Size compare | |
uses: effector/[email protected] | |
with: | |
gist_id: "6eb87784dc1804c28cb490c43a5d95e0" | |
gist_token: "${{ secrets.SIZE_COMPARE_TOKEN }}" | |
github_token: "${{ secrets.GITHUB_TOKEN }}" | |
files: | | |
dist/**/*.js |