fixed a bug #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Hardhat Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
env: | |
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} | |
PINATA_API_KEY: ${{ secrets.PINATA_API_KEY }} | |
POLYGON_MUMBAI_RPC: ${{ secrets.POLYGON_MUMBAI_RPC }} | |
POLYGON_MAINNET_RPC: ${{ secrets.POLYGON_MUMBAI_RPC }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 20 # You can specify your Node.js version here | |
- name: Install Dependencies | |
run: npm install | |
- name: Run Hardhat Tests | |
run: npx hardhat test |