Merge pull request #153 from sarcophagus-org/update-cursed-fee-bond #304
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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
deploy: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version-file: '.nvmrc' | |
- name: Install node modules | |
run: npm install | |
- name: Compile contracts | |
run: npx hardhat compile | |
- name: Run linter | |
run: npx eslint . | |
- name: Run contract tests | |
id: run-tests | |
run: npx hardhat test |