Skip to content

Commit

Permalink
Retrieve Node.js version from .nvmrc
Browse files Browse the repository at this point in the history
Signed-off-by: Sora Morimoto <[email protected]>
  • Loading branch information
smorimoto committed Dec 27, 2024
1 parent 005fc21 commit 5497b7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: .nvmrc

- name: Get artifact dir name
run: node .github/workflows/get_artifact_dir_name.js
Expand Down Expand Up @@ -401,7 +401,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: .nvmrc

- name: NPM install
run: npm ci --ignore-scripts
Expand Down Expand Up @@ -461,7 +461,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: .nvmrc

- name: Download artifacts
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -495,7 +495,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18
node-version-file: .nvmrc
registry-url: https://registry.npmjs.org # Needed to make auth work for publishing

- name: Download artifacts
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18

0 comments on commit 5497b7f

Please sign in to comment.