mapserver/.github/workflows/jshint.yml

21 lines
307 B
YAML
Raw Normal View History

2019-11-28 13:11:07 +03:00
name: jshint
2020-01-13 19:33:06 +03:00
on: [push, pull_request]
2019-11-28 13:11:07 +03:00
jobs:
build:
2020-12-14 11:44:17 +03:00
runs-on: ubuntu-20.04
2019-11-28 13:11:07 +03:00
steps:
2021-09-01 20:55:12 +03:00
- uses: actions/checkout@v2
2019-11-28 13:11:07 +03:00
- name: apt
run: sudo apt-get install -y nodejs npm
- name: jshint install
2019-11-28 13:15:29 +03:00
run: sudo npm i -g jshint
2019-11-28 13:11:07 +03:00
- name: jshint run
2021-04-12 14:07:17 +03:00
run: cd public/js && jshint