༄ Transpostion should to board should have no effect in combat phase #305
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: | |
- 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: | | |
sudo apt-get update && sudo apt-get install blender draco python3-numpy -y | |
npm install | |
npm audit --audit-level=low | |
npm run build | |
working-directory: ./assets | |
- name: 🏗️ Build core | |
run: | | |
npm install | |
npm audit --audit-level=low | |
npm run build | |
working-directory: ./core | |
- name: 🏗️ Build interface | |
run: | | |
npm install | |
npm audit --audit-level=low | |
npm run build | |
working-directory: ./interface | |
- name: 🏗️ Build sandbox | |
run: | | |
npm install | |
npm audit --audit-level=low | |
npm run build | |
working-directory: ./sandbox | |
- name: 🏗️ Build coverage | |
run: | | |
./run_coverage.sh | |
working-directory: ./core | |
- name: 🏗️ Build ingame | |
env: | |
VITE_WEBSOCKET_DOMAINS: vps-23842e3b.vps.ovh.net | |
VITE_WEBSOCKET_PORTS: 28035 | |
VITE_WEBSOCKET_PORT_A: 28035 | |
VITE_WEBSOCKET_PROTOCOL: wss | |
run: | | |
npm install | |
npm audit --audit-level=low | |
npm run build | |
working-directory: ./ingame | |
- name: 🚀 Deploy | |
uses: JamesIves/github-pages-deploy-action@v4.6.4 | |
with: | |
folder: ./ingame/dist |