Skip to content

Commit

Permalink
make publish script real
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyAlford committed Jul 8, 2024
1 parent 8aabd51 commit 494d47e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- develop
- task/publish-on-merge

jobs:
check-and-publish:
Expand All @@ -17,7 +16,7 @@ jobs:
- name: Set up bun
uses: oven-sh/setup-bun@v2

- name: Install and build
- name: Install and Build
run: |
bun install
bun run build
Expand Down Expand Up @@ -77,8 +76,7 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
if: steps.compare_npm_versions.outputs.should_publish_npm == 'true'
# run: bun run npm publish --//registry.npmjs.org/:_authToken=${NPM_TOKEN}
run: echo "This WOULD HAVE published to NPM"
run: bun run npm publish --//registry.npmjs.org/:_authToken=${NPM_TOKEN}

- name: Success message
if: steps.compare_github_versions.outputs.should_create_release == 'false' && steps.compare_npm_versions.outputs.should_publish_npm == 'false' || success()
Expand Down

0 comments on commit 494d47e

Please sign in to comment.