Skip to content

Commit

Permalink
Change: 残りのsetup-nodeも変更
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi authored Feb 16, 2023
1 parent efe5e20 commit efa34ef
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -319,15 +319,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set output Node version
id: node-version
shell: bash
run: echo "NODE_VERSION=$(cat .node-version)" >> $GITHUB_OUTPUT

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "${{ steps.node-version.outputs.NODE_VERSION }}"
node-version-file: ".node-version"

- name: Cache Node packages
uses: actions/cache@v3
Expand Down Expand Up @@ -621,15 +616,10 @@ jobs:
run: |
df -h
- name: Set output Node version
id: node-version
shell: bash
run: echo "NODE_VERSION=$(cat .node-version)" >> $GITHUB_OUTPUT

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "${{ steps.node-version.outputs.NODE_VERSION }}"
node-version-file: ".node-version"

- name: Cache Node packages
uses: actions/cache@v3
Expand Down

0 comments on commit efa34ef

Please sign in to comment.