Skip to content

Commit

Permalink
Fix publish command
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Cowton committed Oct 24, 2023
1 parent 23f6ade commit 8608387
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
uses: changesets/action@v1
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: npm release
publish: npm run changeset publish
title: "🦋 Release package updates"
commit: "Bump package version"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"test:dev": "jest --detectOpenHandles --runInBand --watch",
"prepare": "tsc",
"prepack": "cp -r src/bin/commands/new-project/template lib/bin/commands/new-project/template",
"release": "semantic-release",
"release:docs": "rm -rf target && typedoc && gh-pages -d target -u \"github-actions-bot <[email protected]>\"",
"serve:docs": "rm -rf target && typedoc && serve target",
"cli:dev": "ts-node src/bin/index.ts"
Expand Down

0 comments on commit 8608387

Please sign in to comment.