diff --git a/.github/workflows/jshint.yml b/.github/workflows/jshint.yml new file mode 100644 index 0000000000..52e75ae31b --- /dev/null +++ b/.github/workflows/jshint.yml @@ -0,0 +1,28 @@ +name: Lint with JSHint + +on: + push: + branches: + - f24 + pull_request: + branches: + - f24 + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - name: Check out the repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '14' + + - name: Install dependencies + run: npm install + + - name: Run JSHint on src directory + run: npx jshint src