support multiple game modes #2908
Workflow file for this run
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: ci | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: [ main ] | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
# check to ensure all JSON files are valid in the repository | |
- name: json-yaml-validate | |
uses: GrantBirki/[email protected] | |
with: | |
comment: "true" | |
- uses: actions/[email protected] | |
with: | |
node-version-file: .node-version | |
cache: 'npm' | |
- name: install dependencies | |
run: npm ci | |
- name: Get files needed | |
run: npm run prebuild | |
env: | |
GITHUB_TOKEN: ${{ secrets.HIDEOUT_BOT_TOKEN }} | |
- name: test | |
run: npm run test |