Skip to content

Commit

Permalink
Install npm7 before trying to lint (github actions workflow)
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolay Blagoev <[email protected]>
  • Loading branch information
nblagoev committed Mar 20, 2021
1 parent e5e9d8d commit f2b53a9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Use Node.js 12
uses: actions/setup-node@v2
with:
node-version: 12.x

- name: Use NPM 7
run: npm install -g npm@7

- name: reviewdog
uses: reviewdog/action-eslint@v1
with:
Expand Down
8 changes: 6 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f2b53a9

Please sign in to comment.