Skip to content

Commit b07929a

Browse files
committed
ci: Build project as part of the test
1 parent 475b729 commit b07929a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/nodejs.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Node.js CI
1+
name: Node.js build
22

33
on:
44
push:
@@ -8,13 +8,10 @@ on:
88

99
jobs:
1010
build:
11-
1211
runs-on: ubuntu-latest
13-
1412
strategy:
1513
matrix:
1614
node-version: ['10', '12', '14', '16']
17-
1815
steps:
1916
- uses: actions/checkout@v2
2017
- name: Use Node.js ${{ matrix.node-version }}
@@ -31,5 +28,7 @@ jobs:
3128
- name: Install dependencies
3229
if: steps.yarn-cache.outputs.cache-hit != 'true'
3330
run: yarn install --frozen-lockfile
31+
- name: Build
32+
run: yarn build
3433
- name: Test
3534
run: yarn test

0 commit comments

Comments
 (0)