Adjusted play button #21
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: Checks and build analysis | |
on: | |
pull_request: | |
jobs: | |
ci: | |
name: Package Size Report | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v3 | |
- name: Set up pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8.10.0 | |
- name: Install dependencies | |
run: pnpm install | |
- name: Typecheck | |
run: pnpm typecheck | |
- name: Lint | |
run: pnpm lint | |
- name: Test | |
run: pnpm test | |
- name: Package size report | |
uses: pkg-size/action@v1 | |
with: | |
build-command: pnpm build | |
display-size: gzip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |