fe: 部署脚本添加“设置signer” #57
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: build | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install packages | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- run: yarn --ignore-scripts | |
shell: bash | |
- name: Run Tests | |
run: yarn hardhat coverage --network hardhat | |
env: | |
MNEMONIC: ${{ secrets.MNEMONIC }} | |
PRIVATEKEY: ${{ secrets.PRIVATEKEY }} | |
- name: Codecov | |
uses: codecov/codecov-action@v3.1.1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} |