Skip to content

Commit

Permalink
fix(github action): eslint workflow node version
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejonas committed Dec 29, 2020
1 parent ee00261 commit a51cc70
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/lint.yml
Expand Up @@ -6,10 +6,12 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- name: nodenv/setup-nodenv
uses: nodenv/actions-setup-nodenv@v2.0.4
- uses: actions/checkout@v1
- name: install eslint
run: npm install eslint@6.8.0 @typescript-eslint/parser@2.25.0 @typescript-eslint/eslint-plugin@2.25.0
- name: Use Node.js 14.15.1
uses: actions/setup-node@v1
with:
node-version: 14.15.1
- name: npm install
run: npm install
- name: lint
run: ./node_modules/.bin/eslint . --ext .ts
run: npm run lint

0 comments on commit a51cc70

Please sign in to comment.