Sainan dd76ef6227 improve: remove buildConfig.json from git
I think it makes more sense for this file to be distributed with the cache file
2024-05-28 13:52:37 +02:00

21 lines
611 B
YAML

name: Build
on:
push: {}
pull_request: {}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4.1.2
- name: Setup Node.js environment
uses: actions/setup-node@v4.0.2
with:
node-version: "20.x"
- run: npm ci
- run: cp config.json.example config.json
- run: echo '{"version":"","buildLabel":"","matchmakingBuildId":""}' > static/data/buildConfig.json
- run: npm run build