Skip to content

Commit

Permalink
Extract Node version to a file to simplify cross-branch builds
Browse files Browse the repository at this point in the history
Also makes this more easily integrate with other tooling.
  • Loading branch information
PeterJCLaw committed Aug 31, 2024
1 parent ea8f4e6 commit 59e0fd3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: '18'
node-version-file: '.node-version'

- name: Install
run: yarn install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: '18'
node-version-file: '.node-version'

- name: Install
run: yarn install
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18

0 comments on commit 59e0fd3

Please sign in to comment.