Skip to content

chore(deps): bump the npm-minor-patch group in /docs/site with 6 updates #10

chore(deps): bump the npm-minor-patch group in /docs/site with 6 updates

chore(deps): bump the npm-minor-patch group in /docs/site with 6 updates #10

Workflow file for this run

name: Docs
on:
push:
branches: [main]
paths:
- 'docs/site/**'
- '.github/workflows/docs.yaml'
pull_request:
paths:
- 'docs/site/**'
- '.github/workflows/docs.yaml'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: pages-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs/site
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
with:
version: 11
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 22
cache: pnpm
cache-dependency-path: docs/site/pnpm-lock.yaml
- run: pnpm install --frozen-lockfile
- run: pnpm build
- uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
- uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: docs/site/out
deploy:
needs: build
# Deploy on push to main and on manual dispatch; PRs build without
# deploying. Gating on `== 'push'` would make the workflow_dispatch
# trigger above decorative -- it would build and then skip the deploy.
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0