Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into release/v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
teebszet committed Aug 11, 2023
2 parents 0dd01ec + fd09e51 commit aad1e9b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Release & Publish Package

on:
release:
types: [created]
types: [published]

jobs:
build:
Expand All @@ -29,6 +29,11 @@ jobs:
registry-url: https://registry.npmjs.org
- run: npm ci
- run: npm run build
- run: npm publish --tag prerelease
if: github.event.release.prerelease
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: npm publish
if: !github.event.release.prerelease
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit aad1e9b

Please sign in to comment.