Test Site #2713
Workflow file for this run
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: Test Site | |
on: | |
pull_request: | |
merge_group: | |
permissions: | |
contents: read | |
# Abort prior jobs in the same workflow / PR | |
concurrency: | |
group: site-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
validate-site: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./site | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup Node.js | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
- name: npm ci | |
run: npm ci | |
- name: run site build | |
run: npm run build | |
- name: check links | |
run: npm run link-check |