Skip to content

Commit

Permalink
added .nvmrc (#1791)
Browse files Browse the repository at this point in the history
* added .nvmrc

Signed-off-by: Christian Dietrich <christian.dietrich.opensource@gmail.com>

* review feedback

---------

Signed-off-by: Christian Dietrich <christian.dietrich.opensource@gmail.com>
  • Loading branch information
cdietrich authored Jan 20, 2025
1 parent c006777 commit f8dadea
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version-file: '.nvmrc'
- name: Build
shell: bash
run: |
Expand All @@ -43,9 +43,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
node-version-file: '.nvmrc'
- name: Build
shell: bash
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
node-version-file: '.nvmrc'
- name: Build API docs
run: |
npm ci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
- name: Build
shell: bash
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 f8dadea

Please sign in to comment.