feat: bare-clone the data repo, eliminate the working tree (closes #85) #114
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] | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install asdf-managed tools | |
| uses: asdf-vm/actions/install@v4 | |
| - name: Install dependencies | |
| run: npm ci | |
| # @cfp/shared's exports map points at dist/. Build it first so type-check, | |
| # lint, and test can resolve `@cfp/shared` / `@cfp/shared/schemas`. | |
| - name: Build @cfp/shared | |
| run: npm run -w packages/shared build | |
| - name: Type check | |
| run: npm run type-check | |
| - name: Lint | |
| run: npm run lint | |
| - name: Test | |
| run: npm test | |
| - name: Build | |
| run: npm run build |