Skip to content

Commit f2ae077

Browse files
committed
fix: test on all branches and pull requests
1 parent d15f26f commit f2ae077

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/js-test-and-release.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
name: test & maybe release
2-
on:
3-
push:
4-
branches:
5-
- esm-migration # with #262 - ${{{ github.default_branch }}}
6-
pull_request:
7-
branches:
8-
- esm-migration # with #262 - ${{{ github.default_branch }}}
2+
on: [push, pull_request]
93

104
jobs:
115

@@ -126,7 +120,7 @@ jobs:
126120
release:
127121
needs: [test-node, test-chrome, test-chrome-webworker, test-firefox, test-firefox-webworker, test-electron-main, test-electron-renderer]
128122
runs-on: ubuntu-latest
129-
if: github.event_name == 'push' && github.ref == 'refs/heads/${{{ github.default_branch }}}'
123+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
130124
steps:
131125
- uses: actions/checkout@v3
132126
with:

0 commit comments

Comments
 (0)