We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dac96c commit a660be9Copy full SHA for a660be9
.github/workflows/main.yml
@@ -17,11 +17,21 @@ jobs:
17
# The type of runner that the job will run on
18
runs-on: ubuntu-latest
19
20
+ strategy:
21
+ matrix:
22
+ node-version: [8.x, 10.x, 12.x]
23
+
24
# Steps represent a sequence of tasks that will be executed as part of the job
25
steps:
26
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
27
- uses: actions/checkout@v2
28
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
35
# Runs a single command using the runners shell
36
- name: Run tests
37
run: npm run test
0 commit comments