Skip to content

auth flow fixed (#158) #260

auth flow fixed (#158)

auth flow fixed (#158) #260

name: Build Hardhat
on:
push:
pull_request:
workflow_dispatch:
defaults:
run:
shell: bash
working-directory: ./hardhat
env:
envfile: ${{secrets.ENVHARDHAT}}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8.6.6
- uses: actions/setup-node@v3
with:
cache: 'pnpm'
node-version: '20.9.0'
check-latest: true
- name: Write environment
run: |
echo $envfile > .env
sed -i 's/ /\n/g' .env
source .env
- name: Install dependencies
run: pnpm install
- name: Compile contracts
run: npx hardhat compile