From fbfa43e96735e1036d9a958d988082c14047b16f Mon Sep 17 00:00:00 2001 From: Steven Ontong Date: Mon, 10 Jun 2024 09:45:18 +0200 Subject: [PATCH 1/2] chore: fix changeset version action --- .github/workflows/release.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c008dbd..bf16521f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,7 +41,7 @@ jobs: uses: changesets/action@v1 with: # Update the monorepo lockfile after versioning - version: pnpm changeset version && pnpm install --lockfile-only --frozen-lockfile=false + version: changeset:version # This expects you to have a script called release which does a build for your packages and calls changeset publish publish: pnpm release env: diff --git a/package.json b/package.json index 72d89b3a..2691b43c 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "clean:packages": "pnpm run --filter './packages/**' -r clean", "build:packages:prod": "pnpm build:packages --sourceMap false", "watch:packages": "pnpm run --parallel --filter './packages/**' -r build -w", + "changeset:version": "pnpm changeset version && pnpm install --lockfile-only --frozen-lockfile=false", "build": "pnpm run -r build", "ci:publish": "changeset publish && git push --follow-tags", "ci:version": "changeset version && pnpm install --no-frozen-lockfile", From 0e762f2c043c44b63fa9de0ebbdb122b0d8702b5 Mon Sep 17 00:00:00 2001 From: Steven Ontong Date: Mon, 10 Jun 2024 09:49:15 +0200 Subject: [PATCH 2/2] typo --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bf16521f..32a00b8a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,7 +41,7 @@ jobs: uses: changesets/action@v1 with: # Update the monorepo lockfile after versioning - version: changeset:version + version: pnpm changeset:version # This expects you to have a script called release which does a build for your packages and calls changeset publish publish: pnpm release env: