-
Notifications
You must be signed in to change notification settings - Fork 12
Conversation
…sh-job # Conflicts: # .github/workflows/publish-package.yml
…APPS-9798-add-publish-job # Conflicts: # .github/workflows/publish-package.yml
…APPS-9798-add-publish-job # Conflicts: # CHANGELOG.md
@@ -40,5 +34,36 @@ jobs: | |||
runs-on: ubuntu-latest | |||
|
|||
steps: | |||
- uses: actions/checkout@v2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line 15, better to use actions/checkout@v2 as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
run: | | ||
git config user.name ${{ secrets.USERNAME }} | ||
git config user.email "${{ secrets.MAIL }}" | ||
yarn release |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need a better name for this phase. it's not releasing a package at this point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
yarn release | ||
|
||
- name: push changes | ||
run: git push --follow-tags origin HEAD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use master instead of HEAD
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
token: ${{ secrets.NPM_TOKEN }} | ||
|
||
slack_notification: | ||
needs: [ release_package ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will be executed only in case of success. need to send a message also in case of failure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
No description provided.