Skip to content

Bump nanoid from 3.3.7 to 3.3.8 in /docs (#354) #55

Bump nanoid from 3.3.7 to 3.3.8 in /docs (#354)

Bump nanoid from 3.3.7 to 3.3.8 in /docs (#354) #55

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
docs:
name: Build and deploy documentation
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
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
- name: Upload build artifact
uses: actions/upload-pages-artifact@v3
with:
path: docs/build
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4