Skip to content

Commit aaa2fa6

Browse files
Merge pull request #88 from Web3Auth/ci/add-ci
[IRT-996] Add CI and override @toruslabs/http-helpers to 6.0.0
2 parents 1494a1f + 33a9d55 commit aaa2fa6

File tree

4 files changed

+82
-15
lines changed

4 files changed

+82
-15
lines changed

.github/workflows/test.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
on: push
2+
3+
name: tests
4+
5+
jobs:
6+
test:
7+
name: run tests
8+
strategy:
9+
matrix:
10+
node: ["20.x"]
11+
os: [ubuntu-latest]
12+
13+
runs-on: ${{ matrix.os }}
14+
steps:
15+
- name: Check out Git repository
16+
uses: actions/checkout@v3
17+
18+
- name: Set up node
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: ${{ matrix.node }}
22+
cache: "npm"
23+
24+
- name: Install dependencies
25+
run: npm install
26+
27+
- name: Run tests
28+
run: npm run test

package-lock.json

Lines changed: 42 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,17 @@
8888
"tslib": "^2.6.2",
8989
"typescript": "^5.2.2"
9090
},
91+
"overrides": {
92+
"@tkey-mpc/storage-layer-torus": {
93+
"@toruslabs/http-helpers": "^6.0.0"
94+
},
95+
"@toruslabs/base-session-manager": {
96+
"@toruslabs/http-helpers": "^6.0.0"
97+
},
98+
"@toruslabs/customauth": {
99+
"@toruslabs/http-helpers": "^6.0.0"
100+
}
101+
},
91102
"lint-staged": {
92103
"!(*d).ts": [
93104
"eslint --cache --fix",

tests/factors.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ const variable: FactorTestVariable[] = [
128128
{ types: TssShareType.RECOVERY, manualSync: true, asyncStorage: new AsyncMemoryStorage() },
129129
];
130130

131-
const email = "testmail99";
131+
const email = "testmail102";
132132
variable.forEach(async (testVariable) => {
133133
const newCoreKitLogInInstance = async () => {
134134
const instance = new Web3AuthMPCCoreKit({

0 commit comments

Comments
 (0)