diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index e8748ed0..a16254a1 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -26,6 +26,7 @@ jobs: id: changesets uses: changesets/action@v1 with: + version: npm run version publish: npm run release title: Publish env: diff --git a/package.json b/package.json index d07354e1..f0f8d4a4 100644 --- a/package.json +++ b/package.json @@ -39,9 +39,9 @@ "generate:tests": "tsx scripts/generateNewClientTests", "lint": "biome lint --write", "prepublishOnly": "tsx scripts/testChangedPackageNames", - "prerelease": "npm run build && changeset version && npm i --lockfile-only", - "release": "changeset publish", - "test": "vitest" + "release": "npm run build && changeset publish", + "test": "vitest", + "version": "changeset version && npm i --package-lock-only" }, "dependencies": { "jscodeshift": "17.1.1"