Definieer nieuwe regel voor publiceren van landing page #175
This file contains 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 and Check | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
build: | |
name: Build | |
uses: Logius-standaarden/Automatisering/.github/workflows/build.yml@main | |
check: | |
needs: build | |
name: Check | |
uses: Logius-standaarden/Automatisering/.github/workflows/check.yml@main | |
publish: | |
needs: build | |
name: Publish (Logius) | |
uses: Logius-standaarden/Automatisering/.github/workflows/publish.yml@main | |
secrets: inherit | |
spectral_linter: | |
needs: build | |
name: Spectral linter test cases | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Run test suite | |
run: | | |
npm install -g @stoplight/spectral-cli | |
node linter/run-linter-tests.mjs |