Skip to content

chore(deps): update dependency mocha to v10.8.2 #2311

chore(deps): update dependency mocha to v10.8.2

chore(deps): update dependency mocha to v10.8.2 #2311

Workflow file for this run

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/github-pages-deploy-action@v4.6.8
with:
branch: gh-pages
folder: docs
- name: Copy developer docs to repository
if: github.ref == 'refs/heads/main'
uses: nkoppel/push-files-to-another-repository@v1.1.3
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"