Name changed #2
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install packages | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.x' | |
- run: yarn --ignore-scripts | |
shell: bash | |
- name: Create local node and deploy | |
run: | | |
yarn hardhat node & | |
yarn hardhat run scripts/deploy.ts --network localhost | |
- name: Run Tests | |
run: yarn hardhat test |