Skip to content

Commit

Permalink
will run prepublish and push version
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanformio committed Mar 21, 2024
1 parent 5ad48b4 commit ac41f00
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Pre-publish
uses: borales/actions-yarn@v4
with:
cmd: prepublish

- name: Prepare version for publish
id: prep
run: |
Expand All @@ -132,7 +137,7 @@ jobs:
run: |
echo "Version to publish: $NEW_VERSION"
# - name: Publish to npm
# run: |
# npm version $NEW_VERSION
# npm publish --tag dev
- name: Publish to npm
run: |
npm version $NEW_VERSION
npm publish --tag dev

0 comments on commit ac41f00

Please sign in to comment.