Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo0 authored Jan 29, 2024
1 parent 0382e4b commit 108b302
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ jobs:
git config user.email "[email protected]"
# Version bump
- name: Bump package version
run: |
git checkout main
pnpm version patch
git push origin main --follow-tags
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
# - name: Bump package version
# run: |
# git checkout main
# pnpm version patch
# git push origin main --follow-tags
# env:
# GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

# Install dependencies
- run: pnpm install

# Build the package
- run: pnpm run build:lib
- run: pnpm run build

# Publish to npm
- run: pnpm publish
Expand Down

0 comments on commit 108b302

Please sign in to comment.