Skip to content

Merge pull request #4744 from FlowFuse/azure-gitops-changelog #13565

Merge pull request #4744 from FlowFuse/azure-gitops-changelog

Merge pull request #4744 from FlowFuse/azure-gitops-changelog #13565

Workflow file for this run

name: Tests
on: push
jobs:
test_website:
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate_token
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
with:
app-id: ${{ secrets.GH_BOT_APP_ID }}
private-key: ${{ secrets.GH_BOT_APP_KEY }}
owner: ${{ github.repository_owner }}
- name: Check out website repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
path: 'website'
token: ${{ steps.generate_token.outputs.token }}
- name: Check out FlowFuse/flowfuse repository (to access the docs)
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: 'FlowFuse/flowfuse'
ref: main
path: 'flowfuse'
token: ${{ steps.generate_token.outputs.token }}
- name: Check out FlowFuse/blueprint-library repository (to access the blueprints)
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: 'FlowFuse/blueprint-library'
ref: main
path: 'blueprint-library'
token: ${{ steps.generate_token.outputs.token }}
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
with:
node-version: 24
cache: 'npm'
cache-dependency-path: './website/package-lock.json'
- run: npm run docs
working-directory: 'website'
- run: npm run blueprints
working-directory: 'website'
- name: Install Dependencies
run: npm install
working-directory: 'website'
- name: Build the forge
run: npm run build:skip-images
working-directory: 'website'
- uses: untitaker/hyperlink@fb5bb9c5011a3d143a54b4b30aedc30ec5bc0f89 # 0.2.0
with:
args: website/_site/ --check-anchors --sources website/src