chore(ci): bump workflow dependencies #156
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: Build the website | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: ['main'] | |
jobs: | |
docs: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: pnpm/action-setup@v4 | |
- name: 'setup node with cache' | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'pnpm' | |
- run: pnpm add -g pnpm | |
- run: pnpm install | |
- name: 'Docusaurus build' | |
run: | | |
pnpm run build | |
pnpm run format --check |