Skip to content

Commit

Permalink
fix: publish ci action
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinchappell committed Nov 7, 2024
1 parent daf3d04 commit 990683d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:

jobs:
build:
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
CI: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -24,10 +29,6 @@ jobs:
run: npm run build
- name: Publish
if: success()
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
- run: npm run build
if: success()
Expand Down

0 comments on commit 990683d

Please sign in to comment.