diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 421c1fabe..d49605faf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,12 +51,15 @@ jobs: - name: Build packages run: pnpm build + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@main + - name: Create Release Pull Request or Publish to npm id: changesets uses: changesets/action@v1 with: publish: pnpm changeset publish - version: pnpm changeset version + version: pnpm run version:release commit: 'ci: release packages' title: 'ci: release packages' env: diff --git a/package.json b/package.json index 5781db259..0be8bdf10 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "clean": "pnpm -r run clean", "changeset": "changeset", "version": "changeset version", + "version:release": "changeset version && nix run .#update-pnpm-deps", "publish": "pnpm run typecheck && pnpm run lint && pnpm run sherif && pnpm run test && pnpm run build && pnpm run lint:pkg && changeset publish", "prepare": "simple-git-hooks" },