Skip to content

Commit 9920f31

Browse files
authored
[CI] Fix action throws after pnpm change (#5342)
1 parent ec7de6f commit 9920f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update-electron-types.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Get new version
4141
id: get-version
4242
run: |
43-
NEW_VERSION=$(node -e "console.log(JSON.parse(require('fs').readFileSync('./pnpm-lock.yaml')).packages['node_modules/@comfyorg/comfyui-electron-types'].version)")
43+
NEW_VERSION=$(pnpm list @comfyorg/comfyui-electron-types --json --depth=0 | jq -r '.[0].version')
4444
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_OUTPUT
4545
4646
- name: Create Pull Request

0 commit comments

Comments
 (0)