Setup GitHub Actions

This commit is contained in:
Frédéric Guillot
2020-04-04 13:19:19 -07:00
parent 15792da159
commit 1ee17e995a
7 changed files with 88 additions and 36 deletions

16
.github/workflows/linters.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Linters
on:
pull_request:
branches: [ master ]
jobs:
jshint:
runs-on: ubuntu-latest
container: kanboard/tests:latest
steps:
- uses: actions/checkout@v2
- name: Install jshint
run: npm install -g jshint
- name: Run jshint
run: jshint ./assets/js/core ./assets/js/components