Skip to content

Commit

Permalink
test(lint): update lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jwford committed Mar 24, 2024
1 parent 445d5dc commit 30dcce9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install Node v12
- name: Install Node v20
uses: actions/setup-node@v1
with:
node-version: 12
node-version: 20

- name: Install dependencies
run: npm ci

- name: Run ESLint
run: npm test
run: npm lint
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"build-clear": "rm -rf dist && tsc -p .",
"dev": "tsc -p . && node dist/src/Steve.js",
"dev-clear": "rm -rf dist && tsc -p . && node dist/src/Steve.js",
"lint": "eslint src --ext .ts",
"start": "node dist/src/Steve.js"
},
"repository": {
Expand Down

0 comments on commit 30dcce9

Please sign in to comment.