Skip to content

Merge pull request #129 from tellor-io/dependabot/npm_and_yarn/openze… #100

Merge pull request #129 from tellor-io/dependabot/npm_and_yarn/openze…

Merge pull request #129 from tellor-io/dependabot/npm_and_yarn/openze… #100

Workflow file for this run

name: Unit Test
on:
push:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 14
uses: actions/setup-node@v3
with:
node-version: 14.x
cache: 'npm'
- run: npm i
- run: npx hardhat test
env:
CI: true
# These are not needed for the tests but
# hardhat fails to start when not present.
NODE_URL_RINKEBY: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
NODE_URL_MAINNET: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
PRIVATE_KEY: "00000000000000000000000000000000000000000000000000"