From 29bd008b3c28a37bd606bdd504e0f1be0081cef6 Mon Sep 17 00:00:00 2001 From: Joachim Viide Date: Tue, 19 Mar 2024 17:29:30 +0000 Subject: [PATCH] build: update pnpm lockfile on changeset version bumps --- .github/workflows/release.yml | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 13b7d92c..9f6e6da1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,6 +35,7 @@ jobs: - name: Create Release Pull Request uses: changesets/action@v1 with: + version: pnpm run version publish: pnpm changeset publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index 5b17bd49..9e4bd0f6 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,8 @@ "ci:build": "pnpm build && pnpm docs:build", "ci:test": "pnpm lint && pnpm test", "prepare": "husky install", - "format": "prettier --ignore-path .gitignore --write '**/*.{js,jsx,ts,tsx,yml,json,md}'" + "format": "prettier --ignore-path .gitignore --write '**/*.{js,jsx,ts,tsx,yml,json,md}'", + "version": "pnpm changeset version && pnpm i --lockfile-only" }, "authors": [ "The Preact Authors (https://github.com/preactjs/signals/contributors)"