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:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
|
|
|
|
- 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
|