Skip to content

Commit

Permalink
try to fix publish workflow (tag not applied to version)
Browse files Browse the repository at this point in the history
  • Loading branch information
krutoo committed Jun 20, 2024
1 parent 722a355 commit 734a846
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,11 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run check
- run: npm run build
- run: npm --no-git-tag-version version ${{ github.event.release.tag_name }}

publish:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}

0 comments on commit 734a846

Please sign in to comment.