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.
2 parents e5bd2c5 + c1d3b36 commit da58ee6Copy full SHA for da58ee6
.github/workflows/npm-build.yml
@@ -1,7 +1,7 @@
1
-# This workflow will run tests using node on every push
+# This workflow will run tests using node on every push and pull request
2
name: Build package
3
4
-on: push
+on: [push, pull_request]
5
6
jobs:
7
build:
@@ -26,6 +26,7 @@ jobs:
26
- name: Run tests & coverage
27
run: pnpm run coverage
28
- name: Upload coverage reports to Codecov
29
+ if: github.event_name != 'pull_request'
30
uses: codecov/codecov-action@v5
31
with:
32
token: ${{ secrets.CODECOV_TOKEN }}
0 commit comments