Skip to content

Commit 05a90d6

Browse files
committed
Update node version for tests
1 parent 5d2832b commit 05a90d6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/nodejs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [12.x, 16.x]
16+
node-version: [12.x, 18.x]
1717

1818
steps:
1919
- uses: actions/checkout@v3

.github/workflows/npm-publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v3
1515
- uses: actions/setup-node@v3
1616
with:
17-
node-version: 14
17+
node-version: 18
1818
- run: npm ci
1919
- run: npm test
2020

@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v3
2626
- uses: actions/setup-node@v3
2727
with:
28-
node-version: 14
28+
node-version: 18
2929
registry-url: https://registry.npmjs.org/
3030
- run: npm ci
3131
- run: npm publish
@@ -42,7 +42,7 @@ jobs:
4242
# - uses: actions/checkout@v3
4343
# - uses: actions/setup-node@v3
4444
# with:
45-
# node-version: 14
45+
# node-version: 18
4646
# registry-url: https://npm.pkg.github.com/
4747
# - run: npm ci
4848
# - run: npm publish

0 commit comments

Comments
 (0)