Skip to content

Commit

Permalink
chore: run test again before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
vermaysha committed May 22, 2024
1 parent 692f914 commit 017f201
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,16 @@ jobs:
env:
RELEASE_TYPE: ${{ github.event.inputs.release-type }}

- name: Run tests again
run: bun run test

# Commit changes
- name: Commit package.json changes and create tag
run: |
git add "package.json"
git commit -m "chore: release ${{ env.NEW_VERSION }}"
git tag ${{ env.NEW_VERSION }}
# Publish version to public repository
- name: Publish
run: npm publish --verbose --access public --tag ${{ env.RELEASE_TAG }}
Expand Down

0 comments on commit 017f201

Please sign in to comment.