Setup GitHub Actions
This commit is contained in:
16
.github/workflows/linters.yml
vendored
Normal file
16
.github/workflows/linters.yml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user