Merge pull request #129 from tellor-io/dependabot/npm_and_yarn/openze… #100
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: 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" |