Skip to content

Commit 7ea98b3

Browse files
fix: added matrix to use node 12 and 16 in release workflow (#201)
1 parent 5303e52 commit 7ea98b3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,19 @@ jobs:
88
release:
99
name: Release
1010
runs-on: ubuntu-20.04
11+
strategy:
12+
matrix:
13+
version: [12, 16]
1114
steps:
1215
- name: Checkout
1316
uses: actions/checkout@v2
1417
with:
1518
fetch-depth: 0
1619

1720
- name: Setup Node.js
18-
uses: actions/setup-node@v2
21+
uses: actions/setup-node@v3
1922
with:
20-
node-version: 16
23+
node-version: ${{ matrix.version }}
2124

2225
- name: Install dependencies
2326
run: npm ci

0 commit comments

Comments
 (0)