build(deps): bump @types/node from 22.7.6 to 22.8.6 (#2819) #765
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: Github Pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: npm ci --force | |
- name: Build 🔧 | |
run: | | |
npm run typedoc | |
echo "docx.js.org" > docs/.nojekyll | |
echo "docx.js.org" > docs/CNAME | |
- name: Archive Production Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: docs | |
path: docs | |
deploy: | |
needs: [build] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo 🛎️ | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: npm ci --force | |
- name: Download Artifact | |
uses: actions/download-artifact@v4 | |
with: | |
name: docs | |
path: docs | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: docs |