Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit 018f66a

Browse files
committed
Return back condition for tests in CI
1 parent 9e35cba commit 018f66a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ jobs:
3838
# do this only for master branch (so only for push event)
3939
# because pr can contain unfinished job
4040
- run: npx serve -l tcp://localhost:3000 build &
41+
if: github.event_name == 'push'
4142
- run: npm run test:e2e:headless
43+
if: github.event_name == 'push'
4244

4345
- uses: actions/upload-artifact@master
4446
if: ${{ failure() }}

0 commit comments

Comments
 (0)