add legacy events #44
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: Run tests | |
on: [push] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
name: Hardhat unit test (forked network) | |
env: # Set environment variables for all steps in this job | |
FORK_TESTING_ENABLED: true | |
GH_TOKEN: ${{ secrets.github_token }} | |
MAINNET_ETH_NODE_URL: ${{ secrets.mainnet_eth_node_url }} | |
NODE_PROVIDER_KEY: ${{ secrets.node_provider_key }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20.x' | |
- run: npm ci | |
- run: npx hardhat test test-forked/*.ts |