fix(types): fix matrix types #149
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: Test & Release | |
| on: | |
| push: | |
| branches: | |
| - "main" | |
| jobs: | |
| release: | |
| name: Test & Release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 2 | |
| - name: Set up repo | |
| uses: ./.github/actions/setup | |
| - name: Check | |
| run: pnpm run check | |
| - name: Typecheck | |
| run: pnpm run typecheck | |
| - name: Test | |
| run: pnpm run test | |
| - name: Validate current commit (last commit) with commitlint | |
| run: pnpm run commitlint -- --from HEAD~1 --to HEAD --verbose | |
| - name: Release | |
| run: npx semantic-release | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |