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 authored 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
Original file line number Diff line number Diff line change
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/[email protected]
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.