mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-07-09 17:29:12 +00:00
ci(release): sync Nix pnpmDeps hash during release PR generation (#184)
- Add version:release script combining changeset version with Nix hash update - Update release workflow to install Nix and use version:release - Document updated hash refresh workflow in for-agents/workflows.md - Include changeset for the fix
This commit is contained in:
parent
68df4b8b84
commit
3c18987c0b
2 changed files with 5 additions and 1 deletions
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue