Skip to content

Commit 4463f2e

Browse files
build: run test against different Node versions
1 parent f8d50f3 commit 4463f2e

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,27 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
node-version: [8.x, 10.x, 12.x, 14.x]
18+
node-version: ['10.x', '12.x', '14.x']
19+
fail-fast: false
1920
steps:
2021
- uses: actions/checkout@v1
21-
- name: Setting up Node.js ${{ matrix.node-version }}
22+
- name: Setting up Node.js (v${{ matrix.node-version }}.x)
2223
uses: actions/setup-node@v1
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
- run: node --version
27+
name: Check Node.js version
2328
- run: npm ci --ignore-scripts
2429
- run: npm run test:ci
2530
- run: npm install codecov -g
31+
if: ${{ matrix.node-version == '14.x' }}
2632
- run: codecov -f ./coverage/clover.xml -t ${{ secrets.CODECOV_TOKEN }}
33+
if: ${{ matrix.node-version == '14.x' }}
2734
build:
2835
name: Build
29-
needs: [tests, checks]
3036
runs-on: ubuntu-latest
3137
steps:
3238
- uses: actions/checkout@v1
3339
- uses: actions/setup-node@v1
3440
- run: npm ci --ignore-scripts
35-
- run: npm run build
41+
- run: npm run build

0 commit comments

Comments
 (0)