From b9ac15486af04c8c8970c01aef1139406cde44fb Mon Sep 17 00:00:00 2001 From: Nathan Rajlich Date: Wed, 24 May 2023 02:55:27 -0700 Subject: [PATCH] Use `pnpm publish -r` to publish packages (#189) Following the instructions here: https://pnpm.io/using-changesets --- .github/workflows/release.yml | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b937147..6ce860e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,8 +36,8 @@ jobs: id: changesets uses: changesets/action@v1 with: - version: pnpm version:prepare - publish: pnpm release + version: pnpm ci:version + publish: pnpm ci:publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index 2a86d365..e19e95b1 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "test": "turbo run test", "test-e2e": "turbo run test-e2e", "format": "prettier --write \"**/*.{ts,js}\"", - "version:prepare": "changeset version && pnpm install --no-frozen-lockfile", - "release": "changeset publish" + "ci:version": "changeset version && pnpm install --no-frozen-lockfile", + "ci:publish": "pnpm publish -r" }, "devDependencies": { "@changesets/cli": "^2.26.1",