Skip to content

Commit ef7e6b4

Browse files
committed
Use Node.js 16.x and 18.x on CI
1 parent b607f5d commit ef7e6b4

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ jobs:
99
- uses: actions/checkout@v2
1010
with:
1111
submodules: true
12-
- name: Use Node.js 14.x
13-
uses: actions/setup-node@v1
12+
- uses: actions/setup-node@v1
1413
with:
15-
node-version: 14.x
14+
node-version: 18.x
1615
- run: yarn --frozen-lockfile
1716
- run: yarn test
1817
- name: Coveralls
@@ -23,15 +22,17 @@ jobs:
2322
base-path: packages/protoc-gen-nexus
2423

2524
test-e2e:
25+
strategy:
26+
matrix:
27+
node-version: [16, 18]
2628
runs-on: ubuntu-latest
2729
steps:
2830
- uses: actions/checkout@v2
2931
with:
3032
submodules: true
31-
- name: Use Node.js 14.x
32-
uses: actions/setup-node@v1
33+
- uses: actions/setup-node@v1
3334
with:
34-
node-version: 14.x
35+
node-version: ${{ matrix.node-version }}
3536
- uses: bufbuild/buf-setup-action@v1
3637
- run: yarn --frozen-lockfile
3738
- run: yarn test:e2e

.github/workflows/lint.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ jobs:
1111
with:
1212
fetch-depth: 0
1313
submodules: true
14-
- name: Use Node.js 14.x
15-
uses: actions/setup-node@v1
14+
- uses: actions/setup-node@v1
1615
with:
17-
node-version: 14.x
16+
node-version: 18.x
1817
- run: yarn --frozen-lockfile
1918
- run: yarn lint
2019
env:

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ jobs:
2222
with:
2323
submodules: true
2424

25-
- name: Setup Node.js 12.x
26-
uses: actions/setup-node@v2
25+
- uses: actions/setup-node@v2
2726
with:
28-
node-version: 14.x
27+
node-version: 18.x
2928

3029
- name: Install Dependencies
3130
run: yarn

0 commit comments

Comments
 (0)