Skip to content

Commit e0053dc

Browse files
committed
ci(nvmrc): simplified building based on the nvmrc file by leveraging the new setup-node support
1 parent a07c726 commit e0053dc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/node-ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,10 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- uses: actions/checkout@v2
21-
- name: Read .nvmrc
22-
run: echo ::set-output name=NVMRC::$(cat .nvmrc)
23-
id: nvm
2421
- name: Setup node
2522
uses: actions/setup-node@v2
2623
with:
27-
node-version: ${{ steps.nvm.outputs.NVMRC }}
24+
node-version-file: '.nvmrc'
2825
- uses: bahmutov/npm-install@v1
2926
- run: npm test
3027
- name: Upload coverage data to Codecov

0 commit comments

Comments
 (0)