0
Fork 0
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:
Gao Sun 2023-04-17 22:18:47 +08:00
parent c55ff367c7
commit d475ef9c03
No known key found for this signature in database
GPG key ID: 13EBE123E4773688
2 changed files with 7 additions and 1 deletions

View file

@ -39,7 +39,7 @@ jobs:
if: github.event_name == 'push'
uses: changesets/action@v1
with:
version: node .scripts/version.js && pnpm i --no-frozen-lockfile && git status
version: node .scripts/version.js
setupGitUser: false
commit: 'release: version packages'
title: 'release: version packages'

View file

@ -21,3 +21,9 @@ await execAsync(`pnpm -r version`).catch(catchCmdError);
// Sanity check for prepublish scripts
await execAsync(`pnpm -r prepack`).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);