0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/link-mock-connectors.sh
IceHe.Life ff151b2010
refactor(test): refactor integration-test workflow to link mock connectors (#1720)
* refactor(test): another way to link mock connectors in integration tests

* refactor(test): extract link-mock-connectors.sh

* refactor(test): remove unused env variable in integration-test.yml
2022-08-02 18:10:01 +08:00

11 lines
286 B
Bash
Executable file

set -eo pipefail
echo Link the mock connectors for integration tests only
cd packages/core
pnpm link @logto/connector-mock-sms
pnpm link @logto/connector-mock-email
pnpm link @logto/connector-mock-social
cd -
echo Update the pnpm-lock.json
pnpm i --no-frozen-lockfile --lockfile-only