Add eslint CI check

This commit is contained in:
Barichello 2022-02-26 18:50:45 -03:00
parent 860f667e5b
commit b391f0c4ab
No known key found for this signature in database
GPG Key ID: 29197D315AE4FF67
2 changed files with 18 additions and 1 deletions

12
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,12 @@
name: CI
on: [push, pull_request]
jobs:
format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- run: |
npm install
npx eslint .

View File

@ -1,2 +1,7 @@
# NorthstarMasterServer
Master server for Northstar
The master server is responsible for centralizing game servers created by players, it also verifies that connecting players own an Origin account with Titanfall 2.
### Format
This project uses `eslint` to format code, make sure you run `eslint --fix .` before opening a Pull Request.