Skip to content

Commit

Permalink
refactor(test): inline link-mock-connectors.sh (#1746)
Browse files Browse the repository at this point in the history
* refactor(test): inline link-mock-connectors.sh

* refactor(test): use lerna add instead of pnpm link

* refactor(connector): align folder name with package name for connector-mock-email
  • Loading branch information
IceHe authored Aug 9, 2022
1 parent 0270bf1 commit ba50de5
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 15 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,16 @@ jobs:
- name: Setup Node and pnpm
uses: silverhand-io/actions-node-pnpm-run-steps@v1.2.3

- name: Package
- name: Add the mock connectors for integration tests only
run: |
./link-mock-connectors.sh
./package.sh
unset CI
unset GITHUB_ACTIONS
lerna add @logto/connector-mock-sms --scope=@logto/core
lerna add @logto/connector-mock-email --scope=@logto/core
lerna add @logto/connector-mock-social --scope=@logto/core
- name: Package
run: ./package.sh

- uses: actions/upload-artifact@v3
with:
Expand Down
11 changes: 0 additions & 11 deletions link-mock-connectors.sh

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ba50de5

Please sign in to comment.