Testing deployment

This commit is contained in:
denislav-mladenov 2024-07-18 09:03:13 +03:00
commit 54e95da158
5 changed files with 18 additions and 5 deletions

View file

@ -1,5 +1,5 @@
name: deploy-hardhat name: deploy-hardhat
on: on:
pull_request: pull_request:
branches: [ "master" ] branches: [ "master" ]

5
.github/workflows/deploy.sh vendored Executable file
View file

@ -0,0 +1,5 @@
git add .
git commit -m "Testing deployment"
git push origin new_branch

View file

@ -1,5 +1,5 @@
name: deploy-hardhat name: deploy-hardhat
on: on:
pull_request: pull_request:
branches: [ "master" ] branches: [ "master" ]

View file

@ -3,4 +3,9 @@ require("@nomicfoundation/hardhat-toolbox");
/** @type import('hardhat/config').HardhatUserConfig */ /** @type import('hardhat/config').HardhatUserConfig */
module.exports = { module.exports = {
solidity: "0.8.24", solidity: "0.8.24",
networks: {
devnet: {
url: "http://localhost:8545",
},
},
}; };

View file

@ -1,10 +1,10 @@
{ {
"name": "hardhat-pacage", "name": "hardhat-package",
"version": "1.0.0", "version": "1.0.0",
"description": "denis hardhat project", "description": "denis hardhat project",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1" "test": "hardhat test"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -18,6 +18,9 @@
"homepage": "https://github.com/denislav-mladenov/go-ethereum#readme", "homepage": "https://github.com/denislav-mladenov/go-ethereum#readme",
"devDependencies": { "devDependencies": {
"@nomicfoundation/hardhat-toolbox": "^5.0.0", "@nomicfoundation/hardhat-toolbox": "^5.0.0",
"hardhat": "^2.22.6" "hardhat": "^2.22.5",
"@nomiclabs/hardhat-waffle": "^2.0.0",
"ethereum-waffle": "^3.4.0",
"chai": "^4.3.4"
} }
} }