Skip to content

Commit 2bf1a88

Browse files
authored
Update to Node v18 (#995)
- Update nvmrc - Update GitHub workflows - Tested `npm install`, `npm start`, `npm test`, `npm run e2e`, and `npm run build`, and all worked correctly - Fixes #876
1 parent cc7b87b commit 2bf1a88

7 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/create-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
git config --global user.name "GitHub CI"
1919
- uses: actions/setup-node@v3
2020
with:
21-
node-version: '16.x'
21+
node-version: '18.x'
2222
# Get the changelog and write it out to a file so it can be used by the create-release step later
2323
- name: Get changelog
2424
env:

.github/workflows/e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Use Node.js
2727
uses: actions/setup-node@v3
2828
with:
29-
node-version: '16.x'
29+
node-version: '18.x'
3030
cache: 'npm'
3131

3232
- name: Cache node modules

.github/workflows/publish-alpha.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
ref: ${{ github.event.inputs.ref }}
2424
- uses: actions/setup-node@v3
2525
with:
26-
node-version: '16.x'
26+
node-version: '18.x'
2727
registry-url: 'https://registry.npmjs.org'
2828
- run: npm ci
2929
- run: npm run build

.github/workflows/publish-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
fetch-depth: '0' # Need the history to properly select the canary version number
3535
- uses: actions/setup-node@v3
3636
with:
37-
node-version: '16.x'
37+
node-version: '18.x'
3838
registry-url: 'https://registry.npmjs.org'
3939
- run: npm ci
4040
- run: npm run build

.github/workflows/publish-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
ref: ${{ github.ref }}
1616
- uses: actions/setup-node@v3
1717
with:
18-
node-version: '16.x'
18+
node-version: '18.x'
1919
registry-url: 'https://registry.npmjs.org'
2020
- run: npm ci
2121
- run: npm run build

.github/workflows/unit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Use Node.js
2626
uses: actions/setup-node@v3
2727
with:
28-
node-version: '16.x'
28+
node-version: '18.x'
2929
cache: 'npm'
3030

3131
- name: Cache jest

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v16.19.0
1+
v18.13.0

0 commit comments

Comments
 (0)