File tree Expand file tree Collapse file tree 7 files changed +31903
-2229
lines changed Expand file tree Collapse file tree 7 files changed +31903
-2229
lines changed Original file line number Diff line number Diff line change 2323 - name : Setup Node
2424 uses : actions/setup-node@v1
2525 with :
26- node-version : ' 15 .x'
26+ node-version : ' 16 .x'
2727
2828 - name : Run smoke test
2929 id : distribution-availability
Original file line number Diff line number Diff line change 1919 with :
2020 node-version : 16.x
2121
22- - run : npm install -g npm@latest
22+ - run : npm install -g npm@8.19.4
2323
2424 - name : Cache NPM modules
2525 uses : actions/cache@v3
3333
3434 - name : Bootstrap
3535 run : |
36- npm install
36+ npm ci
3737 npx lerna bootstrap --no-ci --hoist
3838
3939 - name : Lint
Original file line number Diff line number Diff line change 4444 node-version : ${{ matrix.node-version }}
4545 check-latest : true
4646
47- - run : npm install -g npm@latest
47+ - run : npm install -g npm@8.19.4
4848
4949 - name : Cache NPM modules
5050 uses : actions/cache@v3
5858
5959 - name : Bootstrap
6060 run : |
61- npm install
61+ npm ci
6262 npx lerna bootstrap --no-ci --hoist
6363
6464 - name : Build
Original file line number Diff line number Diff line change @@ -22,17 +22,32 @@ jobs:
2222 node-version : ' 16.x'
2323 registry-url : ' https://registry.npmjs.org'
2424
25+ -
run :
npm install -g [email protected] 26+
2527 - name : Cache NPM modules
26- uses : actions/cache@v2
28+ uses : actions/cache@v3
2729 with :
28- path : $HOME/.npm
29- key : ${{ matrix.os }}-${{ hashFiles('package-lock.json') }}
30+ path : |
31+ node_modules
32+ package-lock.json
33+ packages/*/node_modules
34+ packages/*/package-lock.json
35+ key : release-ubuntu-latest-${{ hashFiles('package.json', 'packages/*/package.json') }}-06142023
3036
31- - name : Execute tests with Lerna
37+ - name : Bootstrap
38+ run : |
39+ npm ci
40+ npx lerna bootstrap --no-ci --hoist
41+
42+ - name : Build
3243 run : |
33- npx lerna bootstrap --hoist
3444 npx lerna run compile
45+ shell : bash
46+
47+ - name : Execute tests with Lerna
48+ run : |
3549 npx lerna run test
50+ shell : bash
3651
3752 - name : Publish package to npm
3853 run : npx lerna publish from-package --yes --exact --no-verify-access
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ AWS will not:
9595
9696## Testing from Source
9797
98- This repo uses [ Lerna] ( https://lerna.js.org ) to manage multiple packages. To install Lerna as a CLI:
98+ This repo uses [ Lerna] ( https://lerna.js.org ) (use v6 or lower) to manage multiple packages. To install Lerna as a CLI:
9999```
100100npm install -g lerna
101101```
You can’t perform that action at this time.
0 commit comments