Skip to content

Commit

Permalink
ci: use peaceiris/workflows/setup-node 0.19.1 (#818)
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Jan 9, 2023
1 parent 32c9288 commit 416f539
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/test.yml
Expand Up @@ -29,19 +29,9 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "${GITHUB_CONTEXT}"

- name: Read .nvmrc
run: echo "::set-output name=NVMRC::$(cat .nvmrc)"
id: nvm

- name: Setup Node
uses: actions/setup-node@v3
- uses: peaceiris/workflows/setup-node@v0.19.1
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
node-version-file: ".nvmrc"

- name: Dump version
run: |
Expand Down

0 comments on commit 416f539

Please sign in to comment.