Rich-text editor-veld: onderzoek, ontwerp en WYSIWYG-bewerken (TipTap) #254
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: Build standalone form | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build-standalone: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0 | |
| with: | |
| python-version: '3.14' | |
| enable-cache: true | |
| - name: Generate JSON from YAML definitions | |
| run: | | |
| mkdir -p sources/generated | |
| uv run --frozen --no-dev python script/run_all.py \ | |
| --schema schemas/assessment-definition.v2.schema.json \ | |
| --source sources/prescan.yaml \ | |
| --begrippen-yaml sources/begrippenkader_dpia.yaml \ | |
| --output-json sources/generated/PreScanDPIA.json \ | |
| --output-md docs/questions/questions_prescan.md | |
| uv run --frozen --no-dev python script/run_all.py \ | |
| --schema schemas/assessment-definition.v2.schema.json \ | |
| --source sources/dpia.yaml \ | |
| --begrippen-yaml sources/begrippenkader_dpia.yaml \ | |
| --output-json sources/generated/DPIA.json \ | |
| --output-md docs/questions/questions_DPIA.md | |
| uv run --frozen --no-dev python script/run_all.py \ | |
| --schema schemas/assessment-definition.v2.schema.json \ | |
| --source sources/iama.yaml \ | |
| --begrippen-yaml sources/begrippenkader_iama.yaml \ | |
| --output-json sources/generated/IAMA.json \ | |
| --definitions-once-per-page | |
| - name: Set up Node.js | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: '22' | |
| - name: Enable corepack & pin pnpm | |
| run: | | |
| corepack enable | |
| corepack prepare pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be --activate | |
| - name: Install Node dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Build standalone form | |
| env: | |
| GIT_SHA: ${{ github.sha }} | |
| run: cd apps/standalone-form && pnpm build | |
| - name: Upload build artifact | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| name: standalone-form | |
| path: apps/standalone-form/dist/ |