fix: adding CI? #2
This file contains hidden or 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
# See https://fly.io/docs/app-guides/continuous-deployment-with-github-actions/ | |
name: Build Game | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build Game into dist folder | |
runs-on: ubuntu-latest | |
concurrency: build-game-group # optional: ensure only one action runs at a time | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci && npm run build |