Skip to content

Commit

Permalink
Temp fix for npm version --workspaces not updating package deps
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Jun 22, 2021
1 parent c02342b commit 344c589
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- name: Install latest NPM
run: npm install -g npm@7
- name: NPM install with caching
uses: bahmutov/npm-install@v1
- name: Set Min Version
uses: thefringeninja/[email protected]
id: version
Expand All @@ -41,6 +39,9 @@ jobs:
echo "MINVERVERSIONOVERRIDE=${{steps.version.outputs.version}}" >> $GITHUB_ENV
npm run version -- ${{steps.version.outputs.version}}
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
replace-in-files --string='2.0.0-dev' --replacement=${{steps.version.outputs.version}} packages/*/package.json
- name: NPM install with caching
uses: bahmutov/npm-install@v1
- name: Build
run: npm run build
- name: Lint
Expand Down

0 comments on commit 344c589

Please sign in to comment.