forked from MTSR/mapserver
21 lines
307 B
YAML
21 lines
307 B
YAML
name: jshint
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: apt
|
|
run: sudo apt-get install -y nodejs npm
|
|
|
|
- name: jshint install
|
|
run: sudo npm i -g jshint
|
|
|
|
- name: jshint run
|
|
run: cd public/js && jshint
|