Skip to content

Commit

Permalink
fix: Merge bump - publish workflows (#10)
Browse files Browse the repository at this point in the history
* Move bump code back into publish workflow

* Added name to step
  • Loading branch information
frangeris authored Oct 4, 2024
1 parent 1361627 commit 06ede01
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 44 deletions.
44 changes: 0 additions & 44 deletions .github/workflows/bump.yml

This file was deleted.

8 changes: 8 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: write

steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -32,6 +34,12 @@ jobs:
- name: Update package.json
run: npm version ${{ env.VERSION }} --no-git-tag-version --allow-same-version

- name: Bump version
uses: stefanzweifel/git-auto-commit-action@v5
with:
branch: main
commit_message: "bump: Upgrade version to ${{ env.VERSION }}"

- name: Install dependencies
run: npm ci

Expand Down

0 comments on commit 06ede01

Please sign in to comment.