Skip to content

Commit

Permalink
ci: lint action update
Browse files Browse the repository at this point in the history
Signed-off-by: Roy Golan <[email protected]>
  • Loading branch information
rgolangh committed Oct 12, 2024
1 parent 3b57a67 commit 2f180d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- run: npm init @eslint/config
- run: npm install eslint-plugin-jsdoc@latest --save-dev
- run: npx eslint *.js modules/*.js
- run: npm install
- run: npm run lint
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"lint": "eslint *.js modules/*.js"
},
"devDependencies": {
"eslint": "^8.39.0",
"eslint-plugin-jsdoc": "^43.3.1"
"eslint": "^9.0.0"
}
}

0 comments on commit 2f180d9

Please sign in to comment.