Skip to content

Commit

Permalink
update .github/workflows/js-test-and-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
web3-bot committed Jan 20, 2022
1 parent d393cf4 commit 6a6cdbb
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/js-test-and-release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# File managed by web3-bot. DO NOT EDIT.
# See https://github.com/protocol/.github/ for details.

name: test & maybe release
on:
push:
branches:
- master
- master # with #262 - ${{{ github.default_branch }}}
pull_request:
branches:
- master
- master # with #262 - ${{{ github.default_branch }}}

jobs:

Expand Down Expand Up @@ -133,9 +136,9 @@ jobs:
release:
needs: [test-node, test-chrome, test-chrome-webworker, test-firefox, test-firefox-webworker, test-electron-main, test-electron-renderer]
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name == 'push' && github.ref == 'refs/heads/master' # with #262 - 'refs/heads/${{{ github.default_branch }}}'
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2
Expand Down

0 comments on commit 6a6cdbb

Please sign in to comment.