Skip to content

Commit df7e897

Browse files
authored
Merge pull request #959 from cmu-delphi/node18
Upgrade to node v18 in gh actions and netlify configs
2 parents 5f000b4 + e0e56ab commit df7e897

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
- uses: actions/setup-node@v4
1515
with:
16-
node-version: 16
16+
node-version: 18
1717
- uses: actions/[email protected]
1818
with:
1919
path: ~/.npm

.github/workflows/release_main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
uses: actions/checkout@v4
2121
- uses: actions/setup-node@v4
2222
with:
23-
node-version: 16
23+
node-version: 18
2424
- name: Extract version
2525
id: extract_version
2626
run: node -pe "'::set-output name=version::' + require('./package.json').version"
@@ -45,7 +45,7 @@ jobs:
4545
uses: actions/checkout@v4
4646
- uses: actions/setup-node@v4
4747
with:
48-
node-version: 16
48+
node-version: 18
4949
- name: Cache Node.js modules
5050
uses: actions/[email protected]
5151
with:

netlify.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@ publish = "public"
33
command = "npm ci && hugo --gc --minify -b $DEPLOY_PRIME_URL"
44

55
[context.production.environment]
6-
HUGO_VERSION = "0.87.0"
6+
HUGO_VERSION = "0.121.0"
77
HUGO_ENV = "production"
8-
NODE_VERSION = "14.16.0"
9-
NPM_VERSION = "6.14.11"
8+
NODE_VERSION = "18.20.0"
9+
NPM_VERSION = "10.5.0"
1010

1111
[context.deploy-preview]
1212
command = "npm ci && hugo --gc --minify --buildDrafts --buildFuture -b $DEPLOY_PRIME_URL"
1313

1414
[context.deploy-preview.environment]
15-
HUGO_VERSION = "0.87.0"
15+
HUGO_VERSION = "0.121.0"
1616
HUGO_ENABLEGITINFO = "true"
17-
NODE_VERSION = "14.16.0"
18-
NPM_VERSION = "6.14.11"
17+
NODE_VERSION = "18.20.0"
18+
NPM_VERSION = "10.5.0"
1919

2020
[context.branch-deploy]
2121
command = "npm ci && hugo --gc --minify -b $DEPLOY_PRIME_URL"
2222

2323
[context.branch-deploy.environment]
24-
HUGO_VERSION = "0.87.0"
24+
HUGO_VERSION = "0.121.0"
2525
HUGO_ENABLEGITINFO = "true"
26-
NODE_VERSION = "14.16.0"
27-
NPM_VERSION = "6.14.11"
26+
NODE_VERSION = "18.20.0"
27+
NPM_VERSION = "10.5.0"

0 commit comments

Comments
 (0)