Skip to content

Commit 24dc51b

Browse files
committed
ci: 🎡 Using yarn 2 in workflow
1 parent 7376c78 commit 24dc51b

File tree

5 files changed

+16244
-12334
lines changed

5 files changed

+16244
-12334
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ jobs:
1919
node-version: "lts/*"
2020
- name: Install dependencies
2121
run: |
22-
yarn install --frozen-lockfile
23-
yarn --cwd package install --frozen-lockfile
22+
yarn set version berry
23+
yarn install --immutable
24+
yarn ./package install --immutable
2425
- name: Lint
2526
run: |
2627
yarn lint

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ typechain
2121
typechainV6
2222
network/volumes
2323
deployments/localhost
24+
.yarn

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
yarnPath: .yarn/releases/yarn-3.6.1.cjs

package.json

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -21,45 +21,45 @@
2121
"license": "MIT",
2222
"private": true,
2323
"devDependencies": {
24-
"@types/node": "^18.15.11",
25-
"@types/mocha": "^10.0.1",
26-
"@types/chai": "^4.3.5",
27-
"semantic-release": "^21.0.2",
28-
"semantic-release-cli": "^5.4.4",
29-
"@semantic-release/changelog": "^6.0.3",
30-
"eslint": "^8.40.0",
31-
"@typescript-eslint/eslint-plugin": "^5.59.5",
32-
"@typescript-eslint/parser": "^5.59.5",
33-
"prettier": "^2.8.8",
34-
"prettier-plugin-solidity": "^1.1.3",
35-
"solhint-plugin-prettier": "^0.0.5",
36-
"prettier-plugin-jsdoc": "^0.4.2",
37-
"husky": "^8.0.3",
38-
"git-cz": "^4.9.0",
39-
"@commitlint/config-conventional": "^17.6.3",
4024
"@commitlint/cli": "^17.6.3",
41-
"lint-staged": "^13.2.2",
42-
"mocha": "^10.2.0",
43-
"chai": "^4.3.7",
25+
"@commitlint/config-conventional": "^17.6.3",
4426
"@nomicfoundation/hardhat-chai-matchers": "^1.0.6",
4527
"@nomiclabs/hardhat-ethers": "^2.2.3",
4628
"@nomiclabs/hardhat-solhint": "^3.0.1",
29+
"@openzeppelin/hardhat-upgrades": "^1.25.0",
30+
"@semantic-release/changelog": "^6.0.3",
31+
"@typechain/ethers-v5": "^10.2.1",
32+
"@typechain/ethers-v6": "^0.3.2",
33+
"@typechain/hardhat": "^6.1.6",
34+
"@types/chai": "^4.3.5",
35+
"@types/mocha": "^10.0.1",
36+
"@types/node": "^18.15.11",
37+
"@typescript-eslint/eslint-plugin": "^5.59.5",
38+
"@typescript-eslint/parser": "^5.59.5",
39+
"chai": "^4.3.7",
40+
"dotenv": "^16.0.3",
41+
"eslint": "^8.40.0",
42+
"ethers": "^5.7.2",
43+
"git-cz": "^4.9.0",
44+
"hardhat": "^2.14.0",
45+
"hardhat-contract-sizer": "^2.8.0",
4746
"hardhat-deploy": "^0.11.28",
4847
"hardhat-deploy-ethers": "^0.4.0-next.1",
4948
"hardhat-gas-reporter": "^1.0.9",
50-
"hardhat-contract-sizer": "^2.8.0",
51-
"solidity-coverage": "^0.8.2",
52-
"@openzeppelin/hardhat-upgrades": "^1.25.0",
49+
"husky": "^8.0.3",
50+
"lint-staged": "^13.2.2",
51+
"mocha": "^10.2.0",
52+
"prettier": "^2.8.8",
53+
"prettier-plugin-jsdoc": "^0.4.2",
54+
"prettier-plugin-solidity": "^1.1.3",
55+
"semantic-release": "^21.0.2",
56+
"semantic-release-cli": "^5.4.4",
5357
"solhint": "^3.4.1",
58+
"solhint-plugin-prettier": "^0.0.5",
59+
"solidity-coverage": "^0.8.2",
5460
"ts-node": "^10.9.1",
55-
"typescript": "^5.0.4",
56-
"ethers": "^5.7.2",
57-
"hardhat": "^2.14.0",
5861
"typechain": "^8.1.1",
59-
"@typechain/hardhat": "^6.1.6",
60-
"@typechain/ethers-v5": "^10.2.1",
61-
"@typechain/ethers-v6": "^0.3.2",
62-
"dotenv": "^16.0.3",
62+
"typescript": "^5.0.4",
6363
"viem": "^0.3.37"
6464
},
6565
"dependencies": {
@@ -74,5 +74,6 @@
7474
"coverage": "npx hardhat coverage",
7575
"prepare": "husky install",
7676
"commit": "git-cz -S"
77-
}
77+
},
78+
"packageManager": "yarn@3.6.1"
7879
}

0 commit comments

Comments
 (0)