diff --git a/.github/workflows/jshint.yml b/.github/workflows/jshint.yml new file mode 100644 index 0000000..75b3e0e --- /dev/null +++ b/.github/workflows/jshint.yml @@ -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