Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ee3f26f

Browse files
Copilothsluoyz
andcommitted
fix: regenerate yarn.lock with npmjs registry
Signed-off-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: hsluoyz <[email protected]>
1 parent 15a1379 commit ee3f26f

4 files changed

Lines changed: 2524 additions & 1856 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ jobs:
2020
with:
2121
node-version: ${{ matrix.node-version }}
2222

23-
- name: Configure yarn registry
24-
run: yarn config set registry https://registry.npmjs.org
25-
2623
- name: Install Dependency
2724
run: yarn install && yarn global add ts-node
2825

.github/workflows/ci.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ jobs:
1616
with:
1717
node-version: ^20
1818

19-
- name: Configure yarn registry
20-
run: yarn config set registry https://registry.npmjs.org
21-
2219
- name: Install Dependency
2320
run: yarn install
2421

@@ -39,9 +36,6 @@ jobs:
3936
with:
4037
node-version: ^20
4138

42-
- name: Configure yarn registry
43-
run: yarn config set registry https://registry.npmjs.org
44-
4539
- name: Install Dependency
4640
run: yarn install
4741

@@ -67,9 +61,6 @@ jobs:
6761
with:
6862
node-version: ${{ matrix.node }}
6963

70-
- name: Configure yarn registry
71-
run: yarn config set registry https://registry.npmjs.org
72-
7364
- name: Install Dependency
7465
run: yarn install
7566

.github/workflows/platform_test.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,11 @@ jobs:
2020
with:
2121
node-version: ${{ matrix.node-version }}
2222

23-
- name: Configure yarn registry
24-
run: yarn config set registry https://registry.npmjs.org
25-
2623
- name: Build casbin-core
2724
run: yarn install && yarn build && yarn link
2825

2926
- name: Install and link React.js test
30-
run: cd test/reactjs && yarn config set registry https://registry.npmjs.org && yarn install && yarn link casbin-core
27+
run: cd test/reactjs && yarn install && yarn link casbin-core
3128

3229
- name: Run React.js test
3330
run: cd test/reactjs && yarn test
@@ -49,14 +46,11 @@ jobs:
4946
with:
5047
node-version: ${{ matrix.node-version }}
5148

52-
- name: Configure yarn registry
53-
run: yarn config set registry https://registry.npmjs.org
54-
5549
- name: Build casbin-core
5650
run: yarn install && yarn build && yarn link
5751

5852
- name: Install React Native test dependencies
59-
run: cd test/reactnative && yarn config set registry https://registry.npmjs.org && yarn install && yarn global add jest
53+
run: cd test/reactnative && yarn install && yarn global add jest
6054

6155
- name: Run React Native test
6256
run: cd test/reactnative && yarn test
@@ -75,17 +69,14 @@ jobs:
7569
with:
7670
node-version: ${{ matrix.node-version }}
7771

78-
- name: Configure yarn registry
79-
run: yarn config set registry https://registry.npmjs.org
80-
8172
- name: Build casbin-core
8273
run: yarn install && yarn build && yarn link
8374

8475
- name: Install Angular CLI
8576
run: yarn global add @angular/cli
8677

8778
- name: Install and link Angular test
88-
run: cd test/angular && yarn config set registry https://registry.npmjs.org && yarn install && yarn link casbin-core
79+
run: cd test/angular && yarn install && yarn link casbin-core
8980

9081
- name: Run Angular test
9182
run: cd test/angular && ng test --watch=false --browsers=ChromeHeadless

0 commit comments

Comments
 (0)