Bump nanoid from 3.3.7 to 3.3.8 in /docs (backport #354) #122
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: Check Documentation | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths: | |
- docs/** | |
workflow_dispatch: | |
jobs: | |
build-docs: | |
name: Build documentation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup npm | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: npm | |
cache-dependency-path: docs/package-lock.json | |
- name: Install dependencies | |
run: npm ci | |
working-directory: ./docs | |
- name: Build website | |
run: npm run build | |
working-directory: ./docs |