Prepare Resonant 2.2.0 release #16
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: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| jobs: | |
| check-and-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20.x, 22.x] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm ci | |
| - name: Build shared (emits .d.ts for backend/frontend imports) | |
| run: npm run build --workspace=packages/shared | |
| - name: SvelteKit sync (generates .svelte-kit/tsconfig.json) | |
| run: npm run sync --workspace=packages/frontend | |
| - name: Typecheck | |
| run: npm run check | |
| - name: Test | |
| run: npm test |