Skip to content

Commit 3c8fb1a

Browse files
authored
Merge pull request #38 from github/dg-bump-ci-node
Update ci to use node 18
2 parents be57273 + 26b2e39 commit 3c8fb1a

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

.github/workflows/nodejs.yml

+10-12
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,13 @@ jobs:
55
build:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v2
9-
- name: Use Node.js 16.x
10-
uses: actions/setup-node@v1
11-
with:
12-
node-version: 16.x
13-
- name: npm install, build, and test
14-
run: |
15-
npm install
16-
npm run build
17-
npm test
18-
env:
19-
CI: true
8+
- uses: actions/checkout@v3
9+
- uses: actions/setup-node@v3
10+
with:
11+
node-version: 18
12+
registry-url: https://registry.npmjs.org/
13+
cache: npm
14+
- run: npm ci
15+
- run: npm test
16+
env:
17+
CI: true

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- uses: actions/setup-node@v3
1313
with:
14-
node-version: 14
14+
node-version: 18
1515
registry-url: https://registry.npmjs.org/
1616
cache: npm
1717
- run: npm ci

0 commit comments

Comments
 (0)