WIP #828
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: Ringteki CI | |
on: | |
push: | |
pull_request: | |
env: | |
DB_PATH: "" | |
DOMAIN: "" | |
ENVIRONMENT: "" | |
GAME_NODE_HOST: "" | |
GAME_NODE_NAME: "" | |
GAME_NODE_SOCKET_IO_PORT: "" | |
HTTPS: "" | |
LOBBY_PORT: "" | |
MQ_URL: "" | |
SECRET: "" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
CXX: g++-4.9 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '14.21.3' | |
- run: npm install | |
- run: npm install -g typescript@4.9.5 | |
- run: npx tsc | |
- name: Fetch Data | |
run: node bin/fetchdata.js prod | |
- name: Test | |
run: npm test | |
- name: Lint | |
run: npm run lint |