chore(release): 2.1.1 #76
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, feat/**] | |
| pull_request: | |
| jobs: | |
| build-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: [20, 22, 24] | |
| name: node ${{ matrix.node }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: yarn | |
| - name: Install | |
| run: yarn install --frozen-lockfile | |
| # Type-checks src and the test tree. tsconfig.json excludes the test | |
| # tree so that tsup emits declarations for src alone, so this needs the | |
| # dedicated tsconfig.test.json to cover what that one doesn't. | |
| - name: Type check | |
| run: yarn run check-types | |
| - name: Build | |
| run: yarn run build | |
| - name: Lint | |
| run: yarn run lint | |
| - name: Test | |
| run: yarn run test | |
| - name: Release notes script | |
| run: bash scripts/release-notes.test.sh |