chore: remove unused patch-package dependency (#778) #108
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: Publish documentation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish-documentation: | |
permissions: | |
id-token: write | |
pages: write | |
contents: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Generate HTML documentation | |
run: | | |
npm ci | |
npm run doc:publish | |
- id: upload-documentation | |
name: Upload documentation to Pages | |
uses: actions/upload-pages-artifact@v2 | |
with: | |
path: docs/api/html | |
- id: deployment | |
name: Deploy documentation to GitHub Pages | |
uses: actions/deploy-pages@v2 |