Skip to content

Commit

Permalink
ci: update global workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
asyncapi-bot committed May 20, 2021
1 parent e91155d commit 0045586
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/if-nodejs-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
push:
branches:
- master
# below lines are not enough to have release supported for these branches
# make sure configuration of `semantic-release` package mentiones these branches
- next
- '**-release'

jobs:

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/if-nodejs-version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ jobs:
name: Generate assets and bump
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: master
# target branch of release. More info https://docs.github.com/en/rest/reference/repos#releases
# in case release is created from release branch then we need to checkout from given branch
# if @semantic-release/github is used to publish, the minimum version is 7.2.0 for proper working
ref: ${{ github.event.release.target_commitish }}
- name: Check if Node.js project and has package.json
id: packagejson
run: test -e ./package.json && echo "::set-output name=exists::true" || echo "::set-output name=exists::false"
Expand Down

0 comments on commit 0045586

Please sign in to comment.