Skip to content

Commit

Permalink
fix: old ci job yarn4 issues (#182)
Browse files Browse the repository at this point in the history
* chore: add some yarn4 config files

* ci: use yarn 4 for testing

* chore: generate lockfile

* chore: lockfile
  • Loading branch information
yyyyaaa authored Jun 11, 2024
1 parent 9867885 commit a029394
Show file tree
Hide file tree
Showing 31 changed files with 58 additions and 39 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ jobs:
runs-on: ubuntu-latest

steps:
# TODO: build global from the repo itself
# - name: Checkout Repository 🛎️
# uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'

- name: Set up Yarn
uses: threeal/[email protected]

- name: Install Dependencies
run: npm install -g create-cosmos-app

Expand All @@ -35,11 +34,11 @@ jobs:
cd vote-proposal
yarn build
# - name: ibc-transfer
# run: |
# cca --example ibc-transfer --name ibc-transfer
# cd ibc-transfer
# yarn build
- name: ibc-transfer
run: |
cca --example ibc-transfer --name ibc-transfer
cd ibc-transfer
yarn build
- name: swap-tokens
run: |
Expand Down
1 change: 1 addition & 0 deletions examples/asset-list/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion examples/asset-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@
"eslint-config-next": "^14.1.0",
"generate-lockfile": "0.0.12",
"typescript": "^5.1.6"
}
},
"packageManager": "[email protected]"
}
4 changes: 2 additions & 2 deletions examples/asset-list/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10513,11 +10513,11 @@ __metadata:

"typescript@patch:typescript@npm%3A^5.1.6#optional!builtin<compat/typescript>":
version: 5.4.5
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=d69c25"
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/9cf4c053893bcf327d101b6c024a55baf05430dc30263f9adb1bf354aeffc11306fe1f23ba2f9a0209674359f16219b5b7d229e923477b94831d07d5a33a4217
checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9
languageName: node
linkType: hard

Expand Down
1 change: 1 addition & 0 deletions examples/authz/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion examples/authz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,6 @@
"sinon": "17.0.1",
"ts-jest": "^29.1.0",
"typescript": "^5.1.6"
}
},
"packageManager": "[email protected]"
}
4 changes: 2 additions & 2 deletions examples/authz/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15978,11 +15978,11 @@ __metadata:

"typescript@patch:typescript@npm%3A^5.1.6#optional!builtin<compat/typescript>":
version: 5.4.5
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=d69c25"
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/9cf4c053893bcf327d101b6c024a55baf05430dc30263f9adb1bf354aeffc11306fe1f23ba2f9a0209674359f16219b5b7d229e923477b94831d07d5a33a4217
checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9
languageName: node
linkType: hard

Expand Down
1 change: 1 addition & 0 deletions examples/ibc-transfer/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion examples/ibc-transfer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@
"eslint-config-next": "^14.1.0",
"generate-lockfile": "0.0.12",
"typescript": "^5.1.6"
}
},
"packageManager": "[email protected]"
}
4 changes: 2 additions & 2 deletions examples/ibc-transfer/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10590,11 +10590,11 @@ __metadata:

"typescript@patch:typescript@npm%3A^5.1.6#optional!builtin<compat/typescript>":
version: 5.4.5
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=d69c25"
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/9cf4c053893bcf327d101b6c024a55baf05430dc30263f9adb1bf354aeffc11306fe1f23ba2f9a0209674359f16219b5b7d229e923477b94831d07d5a33a4217
checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9
languageName: node
linkType: hard

Expand Down
1 change: 1 addition & 0 deletions examples/nft/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion examples/nft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,6 @@
"eslint-config-next": "14.1.0",
"generate-lockfile": "0.0.12",
"typescript": "^5.1.6"
}
},
"packageManager": "[email protected]"
}
4 changes: 2 additions & 2 deletions examples/nft/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13463,11 +13463,11 @@ __metadata:

"typescript@patch:typescript@npm%3A^5.1.6#optional!builtin<compat/typescript>":
version: 5.4.5
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=d69c25"
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/9cf4c053893bcf327d101b6c024a55baf05430dc30263f9adb1bf354aeffc11306fe1f23ba2f9a0209674359f16219b5b7d229e923477b94831d07d5a33a4217
checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9
languageName: node
linkType: hard

Expand Down
1 change: 1 addition & 0 deletions examples/stake-tokens/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion examples/stake-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@
"eslint-config-next": "14.1.0",
"generate-lockfile": "0.0.12",
"typescript": "^5.1.6"
}
},
"packageManager": "[email protected]"
}
4 changes: 2 additions & 2 deletions examples/stake-tokens/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10086,11 +10086,11 @@ __metadata:

"typescript@patch:typescript@npm%3A^5.1.6#optional!builtin<compat/typescript>":
version: 5.4.5
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=d69c25"
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/9cf4c053893bcf327d101b6c024a55baf05430dc30263f9adb1bf354aeffc11306fe1f23ba2f9a0209674359f16219b5b7d229e923477b94831d07d5a33a4217
checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9
languageName: node
linkType: hard

Expand Down
1 change: 1 addition & 0 deletions examples/swap-tokens/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion examples/swap-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@
"eslint-config-next": "13.0.5",
"generate-lockfile": "0.0.12",
"typescript": "^5.1.6"
}
},
"packageManager": "[email protected]"
}
4 changes: 2 additions & 2 deletions examples/swap-tokens/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12343,11 +12343,11 @@ __metadata:

"typescript@patch:typescript@npm%3A^5.1.6#optional!builtin<compat/typescript>":
version: 5.4.5
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=d69c25"
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/9cf4c053893bcf327d101b6c024a55baf05430dc30263f9adb1bf354aeffc11306fe1f23ba2f9a0209674359f16219b5b7d229e923477b94831d07d5a33a4217
checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9
languageName: node
linkType: hard

Expand Down
1 change: 1 addition & 0 deletions examples/telescope/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion examples/telescope/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,6 @@
"eslint-config-next": "13.0.5",
"generate-lockfile": "0.0.12",
"typescript": "^5.1.6"
}
},
"packageManager": "[email protected]"
}
4 changes: 2 additions & 2 deletions examples/telescope/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -15832,11 +15832,11 @@ __metadata:

"typescript@patch:typescript@npm%3A^5.1.6#optional!builtin<compat/typescript>":
version: 5.4.5
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=d69c25"
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/9cf4c053893bcf327d101b6c024a55baf05430dc30263f9adb1bf354aeffc11306fe1f23ba2f9a0209674359f16219b5b7d229e923477b94831d07d5a33a4217
checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9
languageName: node
linkType: hard

Expand Down
1 change: 1 addition & 0 deletions examples/vote-proposal/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion examples/vote-proposal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@
"eslint-config-next": "13.0.5",
"generate-lockfile": "0.0.12",
"typescript": "^5.1.6"
}
},
"packageManager": "[email protected]"
}
4 changes: 2 additions & 2 deletions examples/vote-proposal/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11279,11 +11279,11 @@ __metadata:

"typescript@patch:typescript@npm%3A^5.1.6#optional!builtin<compat/typescript>":
version: 5.4.5
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=d69c25"
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/9cf4c053893bcf327d101b6c024a55baf05430dc30263f9adb1bf354aeffc11306fe1f23ba2f9a0209674359f16219b5b7d229e923477b94831d07d5a33a4217
checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9
languageName: node
linkType: hard

Expand Down
1 change: 1 addition & 0 deletions templates/connect-chain/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion templates/connect-chain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,6 @@
"eslint-config-next": "13.0.5",
"generate-lockfile": "0.0.12",
"typescript": "^5.1.6"
}
},
"packageManager": "[email protected]"
}
4 changes: 2 additions & 2 deletions templates/connect-chain/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10190,11 +10190,11 @@ __metadata:

"typescript@patch:typescript@npm%3A^5.1.6#optional!builtin<compat/typescript>":
version: 5.4.5
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=d69c25"
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/9cf4c053893bcf327d101b6c024a55baf05430dc30263f9adb1bf354aeffc11306fe1f23ba2f9a0209674359f16219b5b7d229e923477b94831d07d5a33a4217
checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9
languageName: node
linkType: hard

Expand Down
1 change: 1 addition & 0 deletions templates/connect-multi-chain/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion templates/connect-multi-chain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@
"eslint-config-next": "13.0.5",
"generate-lockfile": "0.0.12",
"typescript": "^5.1.6"
}
},
"packageManager": "[email protected]"
}
4 changes: 2 additions & 2 deletions templates/connect-multi-chain/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10250,11 +10250,11 @@ __metadata:

"typescript@patch:typescript@npm%3A^5.1.6#optional!builtin<compat/typescript>":
version: 5.4.5
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=d69c25"
resolution: "typescript@patch:typescript@npm%3A5.4.5#optional!builtin<compat/typescript>::version=5.4.5&hash=5adc0c"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/9cf4c053893bcf327d101b6c024a55baf05430dc30263f9adb1bf354aeffc11306fe1f23ba2f9a0209674359f16219b5b7d229e923477b94831d07d5a33a4217
checksum: 10c0/db2ad2a16ca829f50427eeb1da155e7a45e598eec7b086d8b4e8ba44e5a235f758e606d681c66992230d3fc3b8995865e5fd0b22a2c95486d0b3200f83072ec9
languageName: node
linkType: hard

Expand Down

0 comments on commit a029394

Please sign in to comment.