nuxt: prerender /robots.txt and inline sanitize-html so the fallback … #17607
Workflow file for this run
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: Tests | |
| on: push | |
| # Pushing again to a branch replaces the commit the running build was checking, so cancel | |
| # that build rather than pay for a result nobody will look at. main is exempt: every commit | |
| # there keeps its own run, since those are the ones the ruleset and the history rely on. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| jobs: | |
| # The build itself lives in FlowFuse/github-actions-workflows so this repository and | |
| # FlowFuse/flowfuse documentation pull requests share one definition. The check this | |
| # reports is "test_website / Build and check", which the "protect main" ruleset requires. | |
| test_website: | |
| uses: FlowFuse/github-actions-workflows/.github/workflows/build_website.yml@build_website/v1 | |
| with: | |
| website_repository: ${{ github.repository }} | |
| website_ref: ${{ github.sha }} | |
| run_unit_tests: true | |
| secrets: | |
| ci_app_id: ${{ secrets.GH_CI_READONLY_APP_ID }} | |
| ci_app_key: ${{ secrets.GH_CI_READONLY_APP_KEY }} |