Skip to content

Commit 329e5c6

Browse files
rtpascualcwoolum
authored andcommitted
chore: update cli check
1 parent 5d5060d commit 329e5c6

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/check.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ jobs:
4141
- name: Build amplify-cli
4242
working-directory: amplify-cli
4343
run: |
44-
yarn policies set-version 1.18.0
45-
yarn --network-concurrency 1
44+
yarn install
4645
yarn setup-dev
4746
- name: Install updated codegen libraries
4847
working-directory: amplify-cli/packages/amplify-util-uibuilder
@@ -52,9 +51,9 @@ jobs:
5251
- name: Build amplify-cli with updated codegen libraries
5352
working-directory: amplify-cli
5453
run: |
55-
yarn policies set-version 1.18.0
56-
yarn --network-concurrency 1
57-
yarn dev-build
54+
yarn install
55+
yarn build
56+
echo "$HOME/work/amplify-codegen-ui/amplify-codegen-ui/amplify-cli/.bin" >> $GITHUB_PATH
5857
- name: Create a test react app
5958
run: npx create-react-app e2e-test-app
6059
- name: Install test app dependencies
@@ -112,7 +111,7 @@ jobs:
112111
- name: Install packages
113112
run: npm ci
114113
- name: Lerna bootstrap
115-
run: lerna bootstrap
114+
run: npm run bootstrap
116115
- name: Setup Integration Test
117116
run: npm run integ:setup
118117
- name: Cypress run

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"integ:test": "run-script-os",
3232
"integ:test:default": "./scripts/integ-test.sh",
3333
"integ:test:win32": "scripts\\integ-test.bat",
34-
"integ:clean": "npx rimraf packages/integration-test"
34+
"integ:clean": "npx rimraf packages/integration-test",
35+
"bootstrap": "lerna bootstrap"
3536
},
3637
"files": [],
3738
"devDependencies": {

0 commit comments

Comments
 (0)