Skip to content

Add GearBlocks community #33

Add GearBlocks community

Add GearBlocks community #33

Workflow file for this run

on:
push:
branches:
- "master"
jobs:
deploy:
name: "Deploy"
runs-on: "ubuntu-latest"
environment:
name: "Dev"
url: ${{ vars.DEPLOY_API_URL }}
defaults:
run:
working-directory: "games"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/setup-node@v3"
with:
# 18.19 breaks the build due to
# https://github.com/TypeStrong/ts-node/issues/2094
node-version: "18.18"
cache-dependency-path: "games/yarn.lock"
- name: "Install dependencies"
run: "yarn install --frozen-lockfile"
- name: "Build"
run: "yarn run build"
- name: "Deploy"
run: "yarn run deploy"
env:
DEPLOY_API_URL: ${{ vars.DEPLOY_API_URL }}
DEPLOY_API_KEY: ${{ secrets.DEPLOY_API_KEY }}