add filesystemnode type assertions and remove method #64
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-api-doc | |
# Trigger this when a pull request is merged (which implies pushing to master). | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
api-doc: | |
permissions: | |
id-token: "write" | |
pages: "write" | |
environment: | |
name: "github-pages" | |
url: "${{ steps.deployment.outputs.page_url }}" | |
runs-on: self-hosted | |
steps: | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 21 | |
registry-url: https://npm.pkg.github.com/ | |
always-auth: true | |
- name: Git Checkout | |
uses: actions/checkout@v3 | |
- name: Create clean gh-pages branch | |
run: git checkout -b gh-pages | |
- name: Generate autodocs | |
run: | | |
yarn set version stable | |
yarn workspaces foreach -A install | |
yarn docs | |
- id: "upload-documentation" | |
name: "Upload Pages artifact" | |
uses: "actions/upload-pages-artifact@v2" | |
with: | |
path: "docs/" | |
- id: "deployment" | |
name: "Deploy documentation to GitHub Pages" | |
uses: "actions/deploy-pages@v2" |