Skip to content

Commit

Permalink
fix: hardhat issue and update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
davidecarpini committed Oct 25, 2023
1 parent bd780ac commit 2ba976c
Show file tree
Hide file tree
Showing 4 changed files with 2,773 additions and 114 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/lint-build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Install Node.js
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false
node-version-file: .nvmrc
cache: "yarn"

- name: Install
run: pnpm install:all
run: yarn install:all

- name: Lint
run: pnpm run lint
run: yarn run lint

- name: Build
run: pnpm run build
run: yarn run build
2 changes: 1 addition & 1 deletion apps/sample-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"build": "yarn compile && react-app-rewired build",
"clean": "rm -rf build node_modules .turbo cache artifacts src/hardhat",
"compile": "hardhat compile",
"compile": "yarn hardhat compile",
"dev": "react-app-rewired start",
"eject": "react-app-rewired eject",
"postinstall": "yarn compile",
Expand Down
15 changes: 14 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,28 @@
},
"devDependencies": {
"@commitlint/config-conventional": "^18.0.0",
"@nomicfoundation/hardhat-chai-matchers": "^2.0.2",
"@nomicfoundation/hardhat-ethers": "^3.0.4",
"@nomicfoundation/hardhat-network-helpers": "^1.0.9",
"@nomicfoundation/hardhat-verify": "^1.1.1",
"@typechain/ethers-v6": "^0.4.3",
"@typechain/hardhat": "^8.0.3",
"@types/chai": "^4.3.9",
"@types/mocha": "^10.0.3",
"chai": "^4.3.10",
"commitlint": "^18.0.0",
"eslint": "^8.4.1",
"eslint-config-custom": "*",
"eslint-plugin-prefer-arrow": "1.2.3",
"ethers": "^6.8.0",
"hardhat-gas-reporter": "^1.0.9",
"husky": "^8.0.0",
"lint-staged": "^15.0.2",
"prettier": "^2.5.1",
"solidity-coverage": "^0.8.5",
"tsconfig": "*",
"turbo": "latest"
"turbo": "latest",
"typechain": "^8.3.2"
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 2ba976c

Please sign in to comment.