Skip to content

Commit 416f539

Browse files
authored
ci: use peaceiris/workflows/setup-node 0.19.1 (#818)
1 parent 32c9288 commit 416f539

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/test.yml

+2-12
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,9 @@ jobs:
2929
steps:
3030
- uses: actions/checkout@v3
3131

32-
- name: Dump GitHub context
33-
env:
34-
GITHUB_CONTEXT: ${{ toJson(github) }}
35-
run: echo "${GITHUB_CONTEXT}"
36-
37-
- name: Read .nvmrc
38-
run: echo "::set-output name=NVMRC::$(cat .nvmrc)"
39-
id: nvm
40-
41-
- name: Setup Node
42-
uses: actions/setup-node@v3
32+
- uses: peaceiris/workflows/[email protected]
4333
with:
44-
node-version: '${{ steps.nvm.outputs.NVMRC }}'
34+
node-version-file: ".nvmrc"
4535

4636
- name: Dump version
4737
run: |

0 commit comments

Comments
 (0)