Skip to content

Don't trigger name updates multiple times on changed tiles #75

Don't trigger name updates multiple times on changed tiles

Don't trigger name updates multiple times on changed tiles #75

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
test:
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 tests
run: npm test