Skip to content

Commit 8f319d4

Browse files
committed
Upgrade NodeJS version in CI/CD
actions/setup-node doesn't support odd numbers, so upgrade to the next version
1 parent 3e357bb commit 8f319d4

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/HostingPrivatePackagesReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The [tutorial linked above](https://andreybleme.com/2020-05-31/hosting-private-n
8585
- name: Setup Environment
8686
uses: actions/setup-node@v3
8787
with:
88-
node-version: 14
88+
node-version: 22
8989
# Only needed if you're not setting the `publishConfig` package.json field yourself
9090
registry-url: https://npm.pkg.github.com # might be better to put this in ${{ env.registry_url }}
9191
scope: "@myorg" # might be better to put this in ${{ env.registry_scope }}

.github/workflows/actions/client/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ runs:
4444
- name: Set NodeJS version
4545
uses: actions/setup-node@v3
4646
with:
47-
node-version: 21
47+
node-version: 22
4848

4949
- name: Client Install
5050
id: client-install

.github/workflows/actions/server/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ runs:
1313
- name: Set NodeJS version
1414
uses: actions/setup-node@v3
1515
with:
16-
node-version: 21
16+
node-version: 22
1717

1818
- name: Server Install
1919
id: server-install

.github/workflows/cd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
- name: Set NodeJS version
130130
uses: actions/setup-node@v3
131131
with:
132-
node-version: 21
132+
node-version: 22
133133

134134
# Native GitHub `actions/download-artifact@v3` doesn't allow sharing between workflows.
135135
# - Issue: https://github.com/actions/toolkit/issues/501
@@ -314,7 +314,7 @@ jobs:
314314
- name: Set NodeJS version
315315
uses: actions/setup-node@v3
316316
with:
317-
node-version: 21
317+
node-version: 22
318318

319319
- name: Client CD Deploy - Update branch with CD changes
320320
id: client-cd-deploy-download-branch

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: Set NodeJS version
6060
uses: actions/setup-node@v3
6161
with:
62-
node-version: 21
62+
node-version: 22
6363

6464
- name: Client CI - Download cache
6565
uses: actions/cache/restore@v3

0 commit comments

Comments
 (0)