Skip to content

Bump express from 4.19.2 to 4.21.0 in /docs (#311) #46

Bump express from 4.19.2 to 4.21.0 in /docs (#311)

Bump express from 4.19.2 to 4.21.0 in /docs (#311) #46

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