ci: use peaceiris/workflows/setup-node 0.19.1 (#818)

This commit is contained in:
Shohei Ueda 2023-01-09 09:37:43 +09:00 committed by GitHub
parent 32c9288f55
commit 416f539fb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,19 +29,9 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Dump GitHub context - uses: peaceiris/workflows/setup-node@v0.19.1
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
with: with:
node-version: '${{ steps.nvm.outputs.NVMRC }}' node-version-file: ".nvmrc"
- name: Dump version - name: Dump version
run: | run: |