chore(deps): update dependency typedoc to ^0.27.0 #2365
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: Documentation | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
cache: npm | |
- uses: tibdex/github-app-token@v2 | |
id: get_token | |
with: | |
app_id: ${{ secrets.PUBLIC_DOC_PUBLISHER_APP_ID }} | |
private_key: ${{ secrets.PUBLIC_DOC_PUBLISHER_PRIVATE_KEY }} | |
- name: Install dependencies | |
run: npm install | |
- name: Build docs | |
run: npm run docs-build | |
- name: Deploy 🚀 | |
if: github.ref == 'refs/heads/main' | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: docs | |
- name: Copy developer docs to repository | |
if: github.ref == 'refs/heads/main' | |
uses: nkoppel/[email protected] | |
continue-on-error: true | |
env: | |
API_TOKEN_GITHUB: ${{ steps.get_token.outputs.token }} | |
with: | |
source-files: "developerDocs/" | |
destination-username: "ProjectOpenSea" | |
destination-repository: "developer-docs" | |
destination-directory: "opensea-js" | |
destination-branch: "main" | |
commit-username: "ProjectOpenSea-opensea-js" | |
commit-message: "Latest docs from opensea-js" |