fix(script): contract verification #2551
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: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- "*" | |
env: | |
ETH_NODE_URL: ${{ secrets.ETH_NODE_URL }} | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "16.20.0" | |
- name: Setup SSH to install dependencies | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Run Linter | |
run: npm run lint | |
- name: Compile Contracts | |
run: npm run compile | |
- name: Run Tests | |
run: npm test |