We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e0f221 commit 22885c3Copy full SHA for 22885c3
.github/workflows/lint-and-test.yml
@@ -1,6 +1,12 @@
1
name: Lint & Test
2
3
-on: [push]
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
9
10
11
jobs:
12
lint:
@@ -18,11 +24,18 @@ jobs:
18
24
runs-on: ubuntu-latest
19
25
strategy:
20
26
matrix:
21
- node: ["10.x", "12.x"]
27
+ node:
28
+ - 10.x
29
+ - 12.x
22
30
steps:
23
31
- uses: actions/checkout@v2
32
- uses: actions/setup-node@v1
33
with:
34
node-version: ${{ matrix.node }}
35
- run: npm install
36
- run: npm test
37
+
38
+ - uses: actions/upload-artifact@v2
39
+ with:
40
+ name: Test Reports
41
+ path: ${{ github.workspace }}/test-reports/**/*
0 commit comments