mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
chore: fix version workflow
This commit is contained in:
parent
c55ff367c7
commit
d475ef9c03
2 changed files with 7 additions and 1 deletions
2
.github/workflows/changesets.yml
vendored
2
.github/workflows/changesets.yml
vendored
|
@ -39,7 +39,7 @@ jobs:
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
uses: changesets/action@v1
|
uses: changesets/action@v1
|
||||||
with:
|
with:
|
||||||
version: node .scripts/version.js && pnpm i --no-frozen-lockfile && git status
|
version: node .scripts/version.js
|
||||||
setupGitUser: false
|
setupGitUser: false
|
||||||
commit: 'release: version packages'
|
commit: 'release: version packages'
|
||||||
title: 'release: version packages'
|
title: 'release: version packages'
|
||||||
|
|
|
@ -21,3 +21,9 @@ await execAsync(`pnpm -r version`).catch(catchCmdError);
|
||||||
// Sanity check for prepublish scripts
|
// Sanity check for prepublish scripts
|
||||||
await execAsync(`pnpm -r prepack`).catch(catchCmdError);
|
await execAsync(`pnpm -r prepack`).catch(catchCmdError);
|
||||||
await execAsync(`pnpm -r prepublishOnly`).catch(catchCmdError);
|
await execAsync(`pnpm -r prepublishOnly`).catch(catchCmdError);
|
||||||
|
|
||||||
|
// Update lockfile
|
||||||
|
await execAsync(`pnpm i --no-frozen-lockfile`).catch(catchCmdError);
|
||||||
|
|
||||||
|
// Show Git changes
|
||||||
|
await execAsync(`git status`).catch(catchCmdError);
|
||||||
|
|
Loading…
Reference in a new issue