Skip to content

Commit

Permalink
Merge pull request #117 from actions/use-node-version-file
Browse files Browse the repository at this point in the history
Use a centralized `.node-version` file
  • Loading branch information
JamesMGreene authored Dec 4, 2023
2 parents 1465f01 + 591bb0d commit 1f0c5cd
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version-file: '.node-version'
cache: 'npm'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version-file: '.node-version'
cache: 'npm'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version-file: '.node-version'
cache: npm

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rebuild-dependabot-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Setup Node.JS
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version-file: '.node-version'
cache: 'npm'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Node.JS
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version-file: '.node-version'
cache: 'npm'

- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.10.0

0 comments on commit 1f0c5cd

Please sign in to comment.