Skip to content

Commit da58ee6

Browse files
authored
Merge pull request #73 from reynaldichernando/pr-test
Adjust actions for PR test
2 parents e5bd2c5 + c1d3b36 commit da58ee6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/npm-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# This workflow will run tests using node on every push
1+
# This workflow will run tests using node on every push and pull request
22
name: Build package
33

4-
on: push
4+
on: [push, pull_request]
55

66
jobs:
77
build:
@@ -26,6 +26,7 @@ jobs:
2626
- name: Run tests & coverage
2727
run: pnpm run coverage
2828
- name: Upload coverage reports to Codecov
29+
if: github.event_name != 'pull_request'
2930
uses: codecov/codecov-action@v5
3031
with:
3132
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)