Update timing of validation #752
Workflow file for this run
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: push | |
on: [push] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Specify node version... | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.15.0' | |
- name: Install Dependencies | |
run: yarn install | |
working-directory: ./contracts | |
- name: Set up env variables... | |
run: cp contracts/.env.default contracts/.env | |
- name: Building... | |
run: yarn build | |
working-directory: ./contracts | |
- name: Set-up chain... | |
run: yarn chain & | |
working-directory: ./contracts | |
env: | |
PORT: 8545 | |
- name: Run smart contract tests... | |
run: yarn test:clean --network localhost | |
working-directory: ./contracts | |
- name: Run coverage | |
run: yarn coverage | |
working-directory: ./contracts | |
- name: Check deploy | |
run: yarn deploy:localhost | |
working-directory: ./contracts | |