-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Temp fix for npm version --workspaces not updating package deps
- Loading branch information
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|