Skip to content

Commit a660be9

Browse files
author
FSou1
committed
Add CI status icon
1 parent 1dac96c commit a660be9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/main.yml

+10
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,21 @@ jobs:
1717
# The type of runner that the job will run on
1818
runs-on: ubuntu-latest
1919

20+
strategy:
21+
matrix:
22+
node-version: [8.x, 10.x, 12.x]
23+
2024
# Steps represent a sequence of tasks that will be executed as part of the job
2125
steps:
2226
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2327
- uses: actions/checkout@v2
2428

29+
- name: Use Node.js ${{ matrix.node-version }}
30+
uses: actions/setup-node@v1
31+
with:
32+
node-version: ${{ matrix.node-version }}
33+
- run: npm install
34+
2535
# Runs a single command using the runners shell
2636
- name: Run tests
2737
run: npm run test

0 commit comments

Comments
 (0)