Skip to content

Commit

Permalink
Merge pull request #33 from ubiquibot/development
Browse files Browse the repository at this point in the history
feat: the version should be bumped properly
  • Loading branch information
gentlementlegen authored Jul 8, 2024
2 parents c392a0a + 195c39f commit 081f7c6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
- uses: googleapis/release-please-action@v4
id: release
with:
release-type: node
package-name: "@ubiquibot/permit-generation"
default-branch: main
target-branch: main
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
Expand All @@ -28,6 +28,8 @@ jobs:
yarn install --immutable --immutable-cache --check-cache
yarn build
yarn pack
yarn publish --access public
if: ${{ steps.release.outputs.release_created }}
- run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
if: ${{ steps.release.outputs.release_created }}

0 comments on commit 081f7c6

Please sign in to comment.