Add Tree.Edit benchmark and improve performance (#641) #376
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 Page Publish | |
on: | |
push: | |
branches: | |
- 'main' | |
paths-ignore: | |
- 'test/**' | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
- name: Setup Node 🔧 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
cache: 'npm' | |
cache-dependency-path: package-lock.json | |
- name: Install and Build 🔧 | |
run: | | |
npm install | |
npm run build | |
npm run predoc | |
npm run build:docs | |
npm run build:examples | |
npm run build:ghpages | |
- name: Deploy 🚀 | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./ghpages | |
enable_jekyll: true |