Skip to content

Use transactions for clearing tiles (e.g. when changing spawns) #73

Use transactions for clearing tiles (e.g. when changing spawns)

Use transactions for clearing tiles (e.g. when changing spawns) #73

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Setup npm
run: npm ci
- name: Prebuild
run: npm run prebuild
- name: Build
run: npm run build-prod
- uses: actions/upload-artifact@v4
with:
path: |
out/index.html
out/main.js.map
retention-days: 1
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Setup npm
run: npm ci
- name: Run ESLint
run: ./node_modules/.bin/eslint