Skip to content

Commit

Permalink
add release workflow step
Browse files Browse the repository at this point in the history
  • Loading branch information
ukorvl committed Aug 6, 2023
1 parent 4b8df8e commit 62ebe20
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,22 @@ jobs:
npm config set "//registry.npmjs.org/:_authToken" ${{ secrets.NPM_PUBLISH_TOKEN }}
npm publish --access public ukorvl-react-on-screen-${{ needs.ensure_version_changed.outputs.version }}.tgz
release:
runs-on: ubuntu-latest
needs: [build, ensure_version_changed, publish]
if: ${{ needs.ensure_version_changed.outputs.version }}
name: Create release
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
name: Release ${{ needs.ensure_version_changed.outputs.version }}

tag:
runs-on: [ubuntu-latest]
needs: [build, ensure_version_changed, publish]
needs: [build, ensure_version_changed, publish, release]
if: ${{ needs.ensure_version_changed.outputs.version }}
name: Tag
steps:
Expand Down
1 change: 0 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const createBanner = (version) => {

/** Get config to generate js */
const getConfig = ({
input,
outputFile,
format,
isStandalone = false,
Expand Down

0 comments on commit 62ebe20

Please sign in to comment.