Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,14 @@ jobs:
- run: node --version
- run: npm --version

- name: Install Chrome
uses: browser-actions/setup-chrome@v1

- name: Install Monorepo Deps
run: npm ci --ignore-scripts

- name: Install Lerna
run: npm i -g lerna@5.1.5 --ignore-scripts

- name: Bootstrap Monorepo
run: lerna bootstrap --ignore-scripts

- name: Run Test Cases
run: npx lerna run test
run: npm run test --workspaces --if-present

- name: Run Lint Checks
run: npx lerna run lint
run: npm run lint --workspaces --if-present
8 changes: 1 addition & 7 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,5 @@ jobs:
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
run: npm ci --ignore-scripts

- name: Install Lerna
run: npm i -g lerna@5.1.5 --ignore-scripts

- name: Bootstrap Monorepo
run: lerna bootstrap --ignore-scripts

- name: Run test
run: lerna run test
run: npm run test --workspaces --if-present
16 changes: 3 additions & 13 deletions lerna.json
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add all the 4 packages here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
{
"packages": [
"packages/search/projects/search-lib",
"packages/search/projects/search-element"
"packages/search/projects/search-element",
"packages/user-onboarding/projects/user-onboarding-lib",
"packages/user-onboarding/projects/user-onboarding-element"
],
"command": {
"bootstrap": {
"concurrency": 4,
"ignore": [
"@sourceloop/chat-notif-example_ui",
"@sourceloop/search-client-example",
"@sourceloop/payment-example-frontend",
"@sourceloop/user-onboarding-example",
"@sourceloop/chat-notif-example-ui-socket",
"@sourceloop/oauth-example-ui",
"@sourceloop/ai-assistant-example"
]
},
"version": {
"conventionalCommits": true,
"message": "chore(release): publish"
Expand Down
Loading