Skip to content

πŸͺœ First draft for scalability #230

πŸͺœ First draft for scalability

πŸͺœ First draft for scalability #230

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
environment: build
steps:
- name: πŸ›’ Checkout
uses: actions/checkout@v4
with:
fetch-depth: 5
- name: πŸ“¦ Download assets
run: |
wget -qO- ${{ secrets.ASSET_URL }} > encrypted.gpg
gpg --batch --yes --passphrase "${{ secrets.ASSET_SECRET_KEY }}" -o Tiny\ RPG\ Character\ Asset\ Pack\ v1.03b\ -Full\ 20\ Characters.zip -d encrypted.gpg
md5sum -c Tiny\ RPG\ Character\ Asset\ Pack\ v1.03b\ -Full\ 20\ Characters.zip.md5sum
working-directory: ./assets
- name: πŸ—οΈ Build assets
run: |
npm install
npm run build
working-directory: ./assets
- name: πŸ—οΈ Build core
run: |
npm install
npm run build
working-directory: ./core
- name: πŸ—οΈ Build interface
run: |
npm install
npm run build
working-directory: ./interface
- name: πŸ—οΈ Build sandbox
run: |
npm install
npm run build
working-directory: ./sandbox
- name: πŸ—οΈ Build coverage
run: |
./run_coverage.sh
working-directory: ./core
- name: πŸš€ Deploy
uses: JamesIves/[email protected]
with:
folder: ./sandbox/dist