style: footer #1811
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: CI | |
on: push | |
jobs: | |
checks: | |
name: Checks | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
package: [blog2, habits, id, tennis-tournaments] | |
steps: | |
- name: Checkout to current branch | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: ./.github/actions/setup-node | |
- name: Caches node modules | |
uses: ./.github/actions/cache-node-modules | |
- name: Setup pnpm | |
uses: ./.github/actions/setup-pnpm | |
- name: Install dependencies | |
run: pnpm install | |
- name: Type check | |
run: pnpm --filter ${{ matrix.package }} run type | |
- name: Unit tests | |
run: pnpm --filter ${{ matrix.package }} run test:unit |