Skip to content

Commit

Permalink
continue
Browse files Browse the repository at this point in the history
  • Loading branch information
borispoehland committed Aug 5, 2024
1 parent 6d193d3 commit f6acf23
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ permissions:

jobs:
bump-version:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -19,21 +18,20 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- run: npm version prerelease --preid=alpha
- run: npm version patch --preid=alpha

- run: |
git push
publish-npm:
needs: bump-version
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
registry-url: https://registry.npmjs.org
- run: npm ci
- run: npm publish
env:
Expand Down

0 comments on commit f6acf23

Please sign in to comment.