diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 04b8bc57..fc813587 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/package-scripts.js b/package-scripts.js index 17f218ce..1d2b2a0d 100644 --- a/package-scripts.js +++ b/package-scripts.js @@ -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: