Skip to content

Commit

Permalink
ci: use npm start release instead
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Oct 14, 2023
1 parent acc3a89 commit 3a61551
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ 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: pnpm release
publish: npm start release
commit: 'chore: release prettier-eslint'
title: 'chore: release prettier-eslint'
env:
Expand Down
8 changes: 2 additions & 6 deletions package-scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,8 @@ module.exports = {
},
release: {
description:
'We automate releases with semantic-release. This should only be run on travis',
script: series(
'semantic-release pre',
'npm publish',
'semantic-release post'
),
'We automate releases with changesets. This should only be run on GitHub Actions',
script: 'changeset publish',
},
validate: {
description:
Expand Down

0 comments on commit 3a61551

Please sign in to comment.