We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 997ccef commit 829565bCopy full SHA for 829565b
2 files changed
.github/workflows/npm-publish.yml
.github/workflows/publish-github.yml
@@ -3,9 +3,12 @@ on:
3
push:
4
braches:
5
- main
6
+ pull_request:
7
+ branches:
8
+ - main
9
10
jobs:
- build:
11
+ build-test:
12
runs-on: ubuntu-latest
13
steps:
14
- uses: actions/checkout@v2
@@ -18,9 +21,12 @@ jobs:
18
21
- run: npm install
19
22
- run: npm run build
20
23
- run: npm run test
24
+ - run: npm run lint
25
+ - run: npm run coverage
26
27
publish-npm:
28
needs: build
29
+ if: github.ref == 'refs/heads/main'
30
31
32
@@ -36,6 +42,7 @@ jobs:
36
42
37
43
publish-gpr:
38
44
45
39
46
40
47
41
48
0 commit comments