trigger release #80
Workflow file for this run
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
# Adopted from https://github.com/mattpocock/pkg-demo/blob/main/.github/workflows/main.yml | |
name: CI | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout code" | |
uses: actions/checkout@v4 | |
- name: "Setup PNPM" | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
- name: "Setup node" | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
cache: "pnpm" | |
- name: "Install dependencies" | |
run: pnpm install --frozen-lockfile | |
- name: "Build packages" | |
run: pnpm build-packages | |
- name: "Run type-check" | |
run: pnpm check-types | |
- name: "Run lint" | |
run: pnpm lint | |
- name: "Run tests" | |
run: pnpm test |