v1.0.1 #12
This file contains hidden or 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: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/checkout@v3 | |
| - name: Use Node.js 24.x | |
| uses: actions/setup-node@v1 | |
| with: | |
| node-version: 24.x | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Check formatting | |
| run: yarn prettier --check . | |
| - name: Lint | |
| run: yarn lint | |
| - name: Type check | |
| run: yarn tsc --noEmit | |
| - name: Run tests | |
| run: yarn vitest run |