Skip to content

Commit

Permalink
COMCL-168: Fix linters workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ahed-compucorp committed Jan 14, 2022
1 parent f74b7ef commit 718edbe
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set Correct NodeJS version
shell: bash -l {0}
run: |
nvm install
nvm use
- name: Read .nvmrc
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
id: nvm

- uses: actions/setup-node@v2
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'

- name: Run npm install
run: npm i
Expand Down

0 comments on commit 718edbe

Please sign in to comment.