Skip to content

Merge pull request #10 from fetchoracle/update_readme_docs #18

Merge pull request #10 from fetchoracle/update_readme_docs

Merge pull request #10 from fetchoracle/update_readme_docs #18

Workflow file for this run

name: Unit Test
on:
push:
branches:
- dev
- staging
- main
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"