-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update package-lock with npm 8. use newer dep override mechanism. upd…
…ate workflows (#607)
- Loading branch information
Showing
7 changed files
with
31,903 additions
and
2,229 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
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
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
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 |
---|---|---|
|
@@ -22,17 +22,32 @@ jobs: | |
node-version: '16.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- run: npm install -g [email protected] | ||
|
||
- name: Cache NPM modules | ||
uses: actions/cache@v2 | ||
uses: actions/cache@v3 | ||
with: | ||
path: $HOME/.npm | ||
key: ${{ matrix.os }}-${{ hashFiles('package-lock.json') }} | ||
path: | | ||
node_modules | ||
package-lock.json | ||
packages/*/node_modules | ||
packages/*/package-lock.json | ||
key: release-ubuntu-latest-${{ hashFiles('package.json', 'packages/*/package.json') }}-06142023 | ||
|
||
- name: Execute tests with Lerna | ||
- name: Bootstrap | ||
run: | | ||
npm ci | ||
npx lerna bootstrap --no-ci --hoist | ||
- name: Build | ||
run: | | ||
npx lerna bootstrap --hoist | ||
npx lerna run compile | ||
shell: bash | ||
|
||
- name: Execute tests with Lerna | ||
run: | | ||
npx lerna run test | ||
shell: bash | ||
|
||
- name: Publish package to npm | ||
run: npx lerna publish from-package --yes --exact --no-verify-access | ||
|
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
Oops, something went wrong.