mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-14 22:29:17 +08:00
ci: use peaceiris/workflows/setup-node 0.19.1 (#818)
This commit is contained in:
parent
32c9288f55
commit
416f539fb4
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
@ -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: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user