Skip to content

Test deployment

Test deployment #5

Workflow file for this run

# Original source: Docusaurus documentation
name: Test deployment
on:
pull_request:
branches:
- gh-pages-poc
# Review gh actions docs if you want to further define triggers, paths, etc
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
workflow_dispatch:
jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./docs
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: 18
cache: npm
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Test build website
run: npm run build