jshint action
This commit is contained in:
parent
f83388a399
commit
e336990651
20
.github/workflows/jshint.yml
vendored
Normal file
20
.github/workflows/jshint.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: jshint
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: apt
|
||||
run: sudo apt-get install -y nodejs npm
|
||||
|
||||
- name: jshint install
|
||||
run: npm i -g jshint
|
||||
|
||||
- name: jshint run
|
||||
- run: cd static/js && jshint
|
Loading…
x
Reference in New Issue
Block a user