Skip to content

Use getPreferredCanvasFormat() in render pipeline #33

Use getPreferredCanvasFormat() in render pipeline

Use getPreferredCanvasFormat() in render pipeline #33

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