Skip to content

Commit b1c2e0c

Browse files
committed
build(ci): updated setup node step
1 parent 0be1f22 commit b1c2e0c

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,22 @@ on: [push]
55
jobs:
66
test:
77
runs-on: ubuntu-latest
8+
9+
strategy:
10+
matrix:
11+
node-version: [14.x]
12+
813
steps:
914
- uses: actions/checkout@v2
10-
- name: Use Node.js
15+
- name: Use Node.js ${{ matrix.node-version }}
1116
uses: actions/setup-node@v1
12-
- run: yarn
13-
- run: yarn build
14-
- run: yarn test
17+
with:
18+
node-version: ${{ matrix.node-version }}
19+
- name: Install Dependencies
20+
run: yarn
21+
- name: Build
22+
run: yarn build
23+
- name: Test
24+
run: yarn test
1525
env:
1626
CI: true

0 commit comments

Comments
 (0)