Skip to content

Commit 80250e0

Browse files
authored
fix: github action linting workflow
1 parent 466c335 commit 80250e0

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/lint.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ jobs:
66
name: lint
77
runs-on: ubuntu-latest
88
steps:
9-
- name: nodenv/setup-nodenv
10-
uses: nodenv/[email protected]
119
- uses: actions/checkout@v1
12-
- name: install eslint
13-
run: npm install [email protected] @typescript-eslint/[email protected] @typescript-eslint/[email protected]
10+
- name: Use Node.js 14.15.1
11+
uses: actions/setup-node@v1
12+
with:
13+
node-version: 14.15.1
14+
- name: npm install
15+
run: npm install
1416
- name: lint
15-
run: ./node_modules/.bin/eslint . --ext .ts
17+
run: npm run lint

0 commit comments

Comments
 (0)