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 a07bd8f commit 9218a40Copy full SHA for 9218a40
.github/workflows/test-and-build.yml
@@ -1,6 +1,6 @@
1
name: Test and Build
2
3
-on: [push]
+on: [pull_request]
4
5
jobs:
6
test:
.github/workflows/test-and-publish.yml
@@ -2,6 +2,8 @@ name: Test and publish to npm
on:
push:
+ branches:
+ - main
7
tags:
8
- v*
9
@@ -24,7 +26,6 @@ jobs:
24
26
- run: npm test
25
27
28
release:
- if: github.ref == 'refs/heads/main'
29
runs-on: ubuntu-latest
30
needs: test
31
steps:
0 commit comments