Skip to content
This repository was archived by the owner on May 15, 2023. It is now read-only.

Commit 5202161

Browse files
ahabhgknex3
andauthored
fix: update optional dependencies version in CI (#109)
Co-authored-by: Natalie Weizenbaum <[email protected]>
1 parent b7d92dc commit 5202161

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,16 @@ jobs:
321321

322322
- name: Update version
323323
run: |
324+
# Update binary package versions
325+
for dir in $(ls npm); do
326+
cat "npm/$dir/package.json" |
327+
jq --arg version ${{ steps.version.outputs.version }} '
328+
.version |= $version
329+
' > package.json.tmp &&
330+
mv package.json.tmp ""npm/$dir/package.json"
331+
done
332+
333+
# Update main package version and dependencies on binary packages
324334
cat package.json |
325335
jq --arg version ${{ steps.version.outputs.version }} '
326336
.version |= $version |

0 commit comments

Comments
 (0)