Skip to content

Commit

Permalink
Add GitHub Actions workflow for JSHint.
Browse files Browse the repository at this point in the history
  • Loading branch information
shantinghou authored Oct 28, 2024
1 parent 0306a57 commit 36099da
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/jshint.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 36099da

Please sign in to comment.