Skip to content

Commit 5911a63

Browse files
committed
Fixed working directory for finding Node version
1 parent b396e48 commit 5911a63

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/format.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555

5656
- name: Retrieve Node.js version
5757
id: node-version
58+
working-directory: .
5859
run: echo "node-version=$(grep '^nodejs ' .tool-versions | awk '{print $2}')" >> $GITHUB_OUTPUT
5960
shell: bash
6061

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454

5555
- name: Retrieve Node.js version
5656
id: node-version
57+
working-directory: .
5758
run: echo "node-version=$(grep '^nodejs ' .tool-versions | awk '{print $2}')" >> $GITHUB_OUTPUT
5859
shell: bash
5960

0 commit comments

Comments
 (0)