chore: Repo Maintenance - Dec2025 #7
Workflow file for this run
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 | |
| pull_request: | |
| jobs: | |
| test: | |
| name: Test & Build | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20.x, 22.x] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'yarn' | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Run linter | |
| run: yarn lint | |
| - name: Run type check | |
| run: yarn type | |
| - name: Run tests | |
| run: yarn test --run | |
| - name: Build package | |
| run: yarn build | |
| - name: Install example dependencies | |
| working-directory: ./example | |
| run: yarn install --frozen-lockfile | |
| - name: Build example | |
| working-directory: ./example | |
| run: yarn build | |
| - name: Check for security vulnerabilities | |
| run: yarn audit --level moderate | |
| continue-on-error: true |