Merge pull request #110 from unchartedsoftware/browser-zoom-bug #67
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
--- | |
# Build and Deploy the github pages | |
name: pages | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
build-and-deploy-pages: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout thhe code | |
uses: actions/checkout@v3 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- name: YARN Install | |
run: yarn install --immutable | |
- name: YARN Clean | |
run: yarn clean | |
- name: Lint the code | |
run: yarn lint | |
- name: Build the examples | |
run: yarn examples | |
- name: Test | |
run: yarn test | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4.4.1 | |
with: | |
branch: gh-pages | |
folder: build/examples |