Skip to content

Commit fef379f

Browse files
committed
Force upgrade to node 20.
1 parent 9872904 commit fef379f

5 files changed

Lines changed: 15 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Node.js
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: 16
26+
node-version: 20
2727
registry-url: 'https://registry.npmjs.org'
2828

2929
- name: Cache Node Modules
@@ -43,12 +43,6 @@ jobs:
4343
- name: Test
4444
run: yarn lint && yarn test
4545

46-
- name: Set up Node.js for publishing
47-
uses: actions/setup-node@v4
48-
with:
49-
node-version: 20
50-
registry-url: 'https://registry.npmjs.org'
51-
5246
- name: Deploy to NPM
5347
if: github.repository_owner == 'Authress-Engineering' && github.ref != 'refs/heads/main' && github.ref != 'refs/heads/master' && github.event_name == 'push'
5448
run: |

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16
1+
20

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
modules: 'commonjs',
1010
corejs: { version: 3 },
1111
targets: {
12-
node: '16',
12+
node: '20',
1313
},
1414
forceAllTransforms: false,
1515
},

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"@babel/plugin-transform-runtime": "=7.18.6",
5656
"@babel/preset-env": "=7.18.6",
5757
"@babel/register": "=7.18.6",
58+
"@types/json-schema": "^7.0.15",
5859
"babel-loader": "=8.2.5",
5960
"buffer": "^6.0.3",
6061
"commander": "^9.4.0",
@@ -98,5 +99,8 @@
9899
"js-yaml": "^4.1.1",
99100
"lodash.clonedeepwith": "^4.5.0",
100101
"url": "^0.11.4"
102+
},
103+
"engines": {
104+
"node": ">=20"
101105
}
102106
}

yarn.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5675,6 +5675,14 @@ url-parse@^1.5.3:
56755675
querystringify "^2.1.1"
56765676
requires-port "^1.0.0"
56775677

5678+
url@^0.11.4:
5679+
version "0.11.4"
5680+
resolved "https://registry.yarnpkg.com/url/-/url-0.11.4.tgz#adca77b3562d56b72746e76b330b7f27b6721f3c"
5681+
integrity sha512-oCwdVC7mTuWiPyjLUz/COz5TLk6wgp0RCsN+wHZ2Ekneac9w8uuV0njcbbie2ME+Vs+d6duwmYuR3HgQXs1fOg==
5682+
dependencies:
5683+
punycode "^1.4.1"
5684+
qs "^6.12.3"
5685+
56785686
util-deprecate@^1.0.1:
56795687
version "1.0.2"
56805688
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"

0 commit comments

Comments
 (0)