Skip to content

Commit 7abd5b0

Browse files
authored
Merge pull request #196 from hyperweb-io/feat/upgrade-to-pnpm
feat: migrate from yarn to pnpm with makage + dist/ publishing
2 parents 28626f1 + c2b17e7 commit 7abd5b0

73 files changed

Lines changed: 14050 additions & 11958 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/e2e-tests.yaml

Lines changed: 30 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,25 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- name: Checkout Repository 📝
17+
- name: Checkout Repository
1818
uses: actions/checkout@v4
1919

20+
- name: Install pnpm
21+
uses: pnpm/action-setup@v4
22+
with:
23+
version: '9.15.4'
24+
2025
- name: Setup Node.js
2126
uses: actions/setup-node@v4
2227
with:
2328
node-version: "20.x"
24-
cache: "yarn"
29+
cache: "pnpm"
2530

2631
- name: Install Dependencies
27-
run: yarn install --frozen-lockfile
32+
run: pnpm install --frozen-lockfile
2833

2934
- name: Build Project
30-
run: yarn build
35+
run: pnpm run build
3136

3237
- name: Set Up Starship Infrastructure
3338
id: starship-infra
@@ -36,26 +41,31 @@ jobs:
3641
config: libs/interchainjs/starship/configs/config.workflow.yaml
3742

3843
- name: Run E2E Tests
39-
run: cd ./libs/interchainjs && yarn starship:test
44+
run: cd ./libs/interchainjs && pnpm run starship:test
4045

4146
networks-cosmos:
4247
runs-on: ubuntu-latest
4348

4449
steps:
45-
- name: Checkout Repository 📝
50+
- name: Checkout Repository
4651
uses: actions/checkout@v4
4752

53+
- name: Install pnpm
54+
uses: pnpm/action-setup@v4
55+
with:
56+
version: '9.15.4'
57+
4858
- name: Setup Node.js
4959
uses: actions/setup-node@v4
5060
with:
5161
node-version: "20.x"
52-
cache: "yarn"
62+
cache: "pnpm"
5363

5464
- name: Install Dependencies
55-
run: yarn install --frozen-lockfile
65+
run: pnpm install --frozen-lockfile
5666

5767
- name: Build Project
58-
run: yarn build
68+
run: pnpm run build
5969

6070
- name: Set Up Starship Infrastructure
6171
id: starship-infra
@@ -64,26 +74,31 @@ jobs:
6474
config: networks/cosmos/starship/configs/config.workflow.yaml
6575

6676
- name: Run E2E Tests
67-
run: cd ./networks/cosmos && yarn starship:test
77+
run: cd ./networks/cosmos && pnpm run starship:test
6878

6979
networks-ethereum:
7080
runs-on: ubuntu-latest
7181

7282
steps:
73-
- name: Checkout Repository 📝
83+
- name: Checkout Repository
7484
uses: actions/checkout@v4
7585

86+
- name: Install pnpm
87+
uses: pnpm/action-setup@v4
88+
with:
89+
version: '9.15.4'
90+
7691
- name: Setup Node.js
7792
uses: actions/setup-node@v4
7893
with:
7994
node-version: "20.x"
80-
cache: "yarn"
95+
cache: "pnpm"
8196

8297
- name: Install Dependencies
83-
run: yarn install --frozen-lockfile
98+
run: pnpm install --frozen-lockfile
8499

85100
- name: Build Project
86-
run: yarn build
101+
run: pnpm run build
87102

88103
- name: Set Up Starship Infrastructure
89104
id: starship-infra
@@ -92,4 +107,4 @@ jobs:
92107
config: networks/ethereum/starship/configs/eth-lite.yaml
93108

94109
- name: Run E2E Tests
95-
run: cd ./networks/ethereum && yarn starship:test && yarn test:utils
110+
run: cd ./networks/ethereum && pnpm run starship:test && pnpm run test:utils

.github/workflows/injective-e2e-tests.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,25 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- name: Checkout Repository 📝
11+
- name: Checkout Repository
1212
uses: actions/checkout@v4
1313

14+
- name: Install pnpm
15+
uses: pnpm/action-setup@v4
16+
with:
17+
version: '9.15.4'
18+
1419
- name: Setup Node.js
1520
uses: actions/setup-node@v4
1621
with:
1722
node-version: "20.x"
18-
cache: "yarn"
23+
cache: "pnpm"
1924

2025
- name: Install Dependencies
21-
run: yarn install --frozen-lockfile
26+
run: pnpm install --frozen-lockfile
2227

2328
- name: Build Project
24-
run: yarn build
29+
run: pnpm run build
2530

2631
- name: Set Up Starship Infrastructure
2732
id: starship-infra
@@ -30,4 +35,4 @@ jobs:
3035
config: networks/injective/starship/configs/config.workflow.yaml
3136

3237
- name: Run E2E Tests
33-
run: cd ./networks/injective && yarn starship:test
38+
run: cd ./networks/injective && pnpm run starship:test

.github/workflows/run-tests.yaml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,25 @@ jobs:
1414
interchainjs:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- name: Checkout Repository 📝
17+
- name: Checkout Repository
1818
uses: actions/checkout@v4
1919

20+
- name: Install pnpm
21+
uses: pnpm/action-setup@v4
22+
with:
23+
version: '9.15.4'
24+
2025
- name: Setup Node.js
2126
uses: actions/setup-node@v4
2227
with:
2328
node-version: "20.x"
24-
cache: "yarn"
29+
cache: "pnpm"
2530

2631
- name: Install Dependencies
27-
run: yarn install --frozen-lockfile
32+
run: pnpm install --frozen-lockfile
2833

2934
- name: Build Project
30-
run: yarn build
31-
- name: test
32-
run: yarn test
35+
run: pnpm run build
36+
37+
- name: Run Tests
38+
run: pnpm run test

.github/workflows/solana-unit-tests.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,25 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- name: Checkout Repository 📝
14+
- name: Checkout Repository
1515
uses: actions/checkout@v4
1616

17+
- name: Install pnpm
18+
uses: pnpm/action-setup@v4
19+
with:
20+
version: '9.15.4'
21+
1722
- name: Setup Node.js
1823
uses: actions/setup-node@v4
1924
with:
2025
node-version: "20.x"
21-
cache: "yarn"
26+
cache: "pnpm"
2227

2328
- name: Install Dependencies
24-
run: yarn install --frozen-lockfile
29+
run: pnpm install --frozen-lockfile
2530

2631
- name: Build Project
27-
run: yarn build
32+
run: pnpm run build
2833

2934
- name: Set Up Starship Infrastructure
3035
id: starship-infra
@@ -144,4 +149,4 @@ jobs:
144149
fi
145150
146151
cd ./networks/solana
147-
yarn test --runInBand
152+
pnpm run test --runInBand

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
**/dist
44
**/dist_spec
55
**/yarn-error.log
6+
**/pnpm-debug.log
67
lerna-debug.log
78

89
.vscode/settings.json
@@ -18,4 +19,4 @@ debug/
1819
# Runtime-generated port-forward environment files
1920
**/.pf-env
2021

21-
.augment/
22+
.augment/
File renamed without changes.

0 commit comments

Comments
 (0)