build: refactor package imports and restore CI and documentation templates #1
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: | |
| - '**' | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: yarn | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Install | |
| run: yarn install --immutable | |
| - name: Build | |
| run: yarn build | |
| - name: Typecheck | |
| run: yarn test:types | |
| - name: Unit Tests | |
| run: yarn test --run |