mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 04:22:12 +00:00
Use pnpm publish -r to publish packages (#10022)
Following the instructions here: https://pnpm.io/using-changesets This should ensure that packages are published in the correct order (see related issue: https://github.com/changesets/changesets/issues/238).
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -47,8 +47,8 @@ jobs:
|
|||||||
id: changesets
|
id: changesets
|
||||||
uses: changesets/action@v1
|
uses: changesets/action@v1
|
||||||
with:
|
with:
|
||||||
version: pnpm version:prepare
|
version: pnpm ci:version
|
||||||
publish: pnpm release
|
publish: pnpm ci:publish
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_PULL_REQUESTS }}
|
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_PULL_REQUESTS }}
|
||||||
NPM_CONFIG_PROVENANCE: 'true'
|
NPM_CONFIG_PROVENANCE: 'true'
|
||||||
|
|||||||
@@ -48,8 +48,8 @@
|
|||||||
"prettier-check": "prettier --check .",
|
"prettier-check": "prettier --check .",
|
||||||
"prepare": "husky install",
|
"prepare": "husky install",
|
||||||
"pack": "cd utils && node -r ts-eager/register ./pack.ts",
|
"pack": "cd utils && node -r ts-eager/register ./pack.ts",
|
||||||
"version:prepare": "changeset version && pnpm install --no-frozen-lockfile",
|
"ci:version": "changeset version && pnpm install --no-frozen-lockfile",
|
||||||
"release": "changeset publish"
|
"ci:publish": "pnpm publish -r"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"./{*,{api,packages,test,utils}/**/*}.{js,ts}": [
|
"./{*,{api,packages,test,utils}/**/*}.{js,ts}": [
|
||||||
|
|||||||
Reference in New Issue
Block a user