Skip to content

Commit

Permalink
move build and test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dnkolegov committed Jan 9, 2024
1 parent 119dd4a commit 40b1a4b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
node-version: '18' # Adjust this as needed for your project

- name: Install dependencies
run: npm install
run: cd contracts && npm install

- name: Install Foundry
run: |
Expand All @@ -32,6 +32,7 @@ jobs:
- name: Generate Ethereum Private Key and Create .env File and run make
run: |
cd contracts
PRIVATE_KEY=$(node -e "console.log(require('crypto').randomBytes(32).toString('hex'))")
echo "export PRIVATE_KEY=0x$PRIVATE_KEY" > .env
echo "export RPC_URL=http://127.0.0.1:1337" >> .env
Expand Down

0 comments on commit 40b1a4b

Please sign in to comment.