File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -241,8 +241,15 @@ jobs:
241241 cat $filePath
242242
243243 cd ./content/*.Web
244- npm i file://$(Get-ChildItem -Path "${{ github.workspace }}/artifacts/coalesce-vue/*.tgz").FullName --save --force
245- npm i file://$(Get-ChildItem -Path "${{ github.workspace }}/artifacts/coalesce-vue-vuetify3/*.tgz").FullName --save --force
244+
245+ # Update package.json to use the newly built packages
246+ $coalescevuePath = "file:$((Get-ChildItem -Path '${{ github.workspace }}/artifacts/coalesce-vue/*.tgz').FullName)"
247+ $coalescevuetifyPath = "file:$((Get-ChildItem -Path '${{ github.workspace }}/artifacts/coalesce-vue-vuetify3/*.tgz').FullName)"
248+
249+ $packageJson = Get-Content package.json | ConvertFrom-Json
250+ $packageJson.dependencies.'coalesce-vue' = $coalescevuePath
251+ $packageJson.dependencies.'coalesce-vue-vuetify3' = $coalescevuetifyPath
252+ $packageJson | ConvertTo-Json -Depth 10 | Set-Content package.json
246253
247254 cat package.json
248255
You can’t perform that action at this time.
0 commit comments