Skip to content

Create ghp-TutoPhaser.yml #1

Create ghp-TutoPhaser.yml

Create ghp-TutoPhaser.yml #1

name: GHP - TutoPhaser
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version-file: '.tool-versions'
- name: Install pnpm
run: npm install -g pnpm
- name: Install Dependencies
run: pnpm install
- name: Build
run: |
pnpm install
pnpm --filter @proto-games/tuto-phaser run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./Games/TutoPhaser/dist