release: 2.0.1 #10
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
code-quality: | |
name: Code quality | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
cache: pnpm | |
node-version: 22 | |
- name: Install dependencies | |
run: pnpm install | |
# this is necessary for typechecking the scripts folder | |
- name: Build and self-link | |
run: pnpm build && pnpm link . | |
- name: Check formatting (Prettier) | |
run: pnpm prettier:check | |
- name: Check types (TypeScript) | |
run: pnpm typescript:check | |
- name: Check linting (ESLint) | |
run: pnpm eslint:check |