Fix CI #742
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: Lint | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v3 # docs https://pnpm.io/continuous-integration#github-actions | |
with: | |
version: 9 # Optional: specify a pnpm version | |
- run: pnpm install | |
- run: pnpm lint | |
- run: pnpm test |