Skip to content

Commit

Permalink
Add lint (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore authored May 25, 2024
1 parent 664b603 commit 43eb02a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Lint the code
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- uses: actions/checkout@v4
- name: Lint the server
run: |
npm install --prefix server
npm run lint --prefix server
- name: Lint the testrunner
run: |
npm install --prefix testrunner
npm run lint --prefix testrunner

0 comments on commit 43eb02a

Please sign in to comment.