Use getPreferredCanvasFormat() in render pipeline #33
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: Build and Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '15' | |
- name: Build | |
run: | | |
npm install | |
npx tsc | |
npx webpack | |
mkdir out | |
touch out/.nojekyll | |
cp index.html out/ | |
cp -r dist/ out/ | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: out | |
clean: true |