Repository navigation
Wip gpccmp behavioural tests #3
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: Vitest GP CCMP Behaviour Tests | |
| on: [workflow_dispatch, push, pull_request, workflow_call] | |
| jobs: | |
| vitest-gpccmp-tests: | |
| name: Vitest Questionnaire Behaviour Tests - GP CCMP | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js 20.x | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build workspace packages (monorepo dependencies) | |
| run: | | |
| npm run build -w packages/sdc-assemble | |
| npm run build -w packages/sdc-populate | |
| npm run build -w packages/sdc-template-extract | |
| npm run build -w packages/smart-forms-renderer | |
| - name: Typecheck | |
| run: npm run typecheck -w forms/gpccmp | |
| - name: Run vitest tests | |
| run: npm run test -w forms/gpccmp |