Fix publish script on changesets release action (#2960)

### Description

Fixes yarn command used in release script of changesets action
https://github.com/hyperlane-xyz/hyperlane-monorepo/actions/runs/6959943453/job/18938332513
changeset-release/release-test
Yorke Rhodes 1 year ago committed by GitHub
commit 31f60be04e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/release.yml
  2. 1
      package.json

@ -33,7 +33,7 @@ jobs:
id: changesets id: changesets
uses: changesets/action@v1 uses: changesets/action@v1
with: with:
publish: yarn build && yarn publish:all publish: yarn release
env: env:
NPM_CONFIG_PROVENANCE: true NPM_CONFIG_PROVENANCE: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

@ -27,6 +27,7 @@
"version:prepare": "yarn changeset version", "version:prepare": "yarn changeset version",
"version:check": "yarn changeset status", "version:check": "yarn changeset status",
"publish:all": "yarn changeset publish", "publish:all": "yarn changeset publish",
"release": "yarn build && yarn publish:all",
"postinstall": "husky install" "postinstall": "husky install"
}, },
"workspaces": [ "workspaces": [

Loading…
Cancel
Save