Skip to content

Commit 61481e0

Browse files
committed
Switch setup-node to `node-version-file
1 parent 8c1a10b commit 61481e0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,9 @@ jobs:
4848
runs-on: ubuntu-latest
4949
steps:
5050
- uses: actions/checkout@v2
51-
- id: nvm
52-
run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)"
53-
- uses: actions/setup-node@v2-beta
51+
- uses: actions/setup-node@v2
5452
with:
55-
node-version: "${{ steps.nvm.outputs.NVMRC }}"
53+
node-version-file: '.nvmrc'
5654
- uses: actions/cache@v2
5755
with:
5856
path: ~/.npm

0 commit comments

Comments
 (0)