chore(deps): update dependency @types/node to v22 (#876) #564
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: Deploy Docusaurus Site | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'frontend/**' | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '18.x' | |
- name: Install dependencies | |
run: | | |
cd frontend | |
npm install | |
- name: Build website | |
run: | | |
cd frontend | |
npm run build | |
- name: Deploy website to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: frontend/build | |