Skip to content

Commit eb8dd87

Browse files
committed
Temp fix for npm version --workspaces not updating package deps
npm/cli#3403
1 parent c72f6a8 commit eb8dd87

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ jobs:
2727
registry-url: 'https://registry.npmjs.org'
2828
- name: Install latest NPM
2929
run: npm install -g npm@7
30-
- name: NPM install with caching
31-
uses: bahmutov/npm-install@v1
3230
- name: Set Min Version
3331
uses: thefringeninja/action-minver@2.0.0-preview1
3432
id: version
@@ -41,6 +39,9 @@ jobs:
4139
echo "MINVERVERSIONOVERRIDE=${{steps.version.outputs.version}}" >> $GITHUB_ENV
4240
npm run version -- ${{steps.version.outputs.version}}
4341
replace-in-files --regex='\/(v?((\d+)\.(\d+)(\.(\d+))?)(?:-([\dA-Za-z-]+(?:\.[\dA-Za-z-]+)*))?(?:\+([\dA-Za-z-]+(?:\.[\dA-Za-z-]+)*))?)' --replacement=/${{steps.version.outputs.version}} packages/core/src/configuration/Configuration.ts
42+
replace-in-files --string='2.0.0-dev' --replacement=${{steps.version.outputs.version}} packages/*/package.json
43+
- name: NPM install with caching
44+
uses: bahmutov/npm-install@v1
4445
- name: Build
4546
run: npm run build
4647
- name: Lint

0 commit comments

Comments
 (0)