From e3369906516d03a6f1aa3030c10ea399fd028f73 Mon Sep 17 00:00:00 2001 From: NatureFreshMilk Date: Thu, 28 Nov 2019 11:11:07 +0100 Subject: [PATCH] jshint action --- .github/workflows/jshint.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/jshint.yml 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