Skip to content

Commit a27da6f

Browse files
authored
Merge pull request #573 from sclable/chore/node-20
chore(*): build for node-v20
2 parents d90db2e + 2d4df54 commit a27da6f

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
node-version: [14.x, 16.x, 18.x]
9+
node-version: [16.x, 18.x, 20.x]
1010
steps:
1111
- name: Checkout
1212
uses: actions/checkout@v3
@@ -16,8 +16,8 @@ jobs:
1616
node-version: ${{ matrix.node-version }}
1717
cache: 'npm'
1818
- name: Up/Downgrade NPM
19-
if: ${{ matrix.node-version != '16.x' }}
20-
run: npm i -g npm@8 --registry=https://registry.npmjs.org
19+
if: ${{ matrix.node-version == '16.x' }}
20+
run: npm i -g npm@9 --registry=https://registry.npmjs.org
2121
- name: Install
2222
run: npm ci
2323
- name: Lint and Test
@@ -46,7 +46,7 @@ jobs:
4646
node-version: '18'
4747
cache: 'npm'
4848
- name: Downgrade NPM
49-
run: npm i -g npm@8 --registry=https://registry.npmjs.org
49+
run: npm i -g npm@9 --registry=https://registry.npmjs.org
5050
- name: Install and generate docs
5151
run: npm ci
5252
- name: Publish

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"@types/fs-extra": "11.0.1",
6161
"@types/jest": "29.5.1",
6262
"@types/minio": "7.0.18",
63-
"@types/node": "18.16.3",
63+
"@types/node": "20.2.3",
6464
"@types/passport-jwt": "3.0.8",
6565
"@types/passport-local": "1.0.35",
6666
"@types/pluralize": "0.0.29",

0 commit comments

Comments
 (0)