L-4: Add deadline to premint #417
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: Lint and Test | |
on: [pull_request] | |
env: | |
NODE_VERSION: "16.18.0" | |
MAINNET_URL: ${{ secrets.MAINNET_URL }} | |
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }} | |
MNEMONIC: ${{ secrets.MNEMONIC }} | |
API_KEY_0X: ${{ secrets.API_KEY_0X }} | |
ETHERNAL_ENABLED: false | |
BLOCK_NUMBER: 17984693 | |
jobs: | |
linting: | |
name: Run Tests & Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Code Checkout | |
uses: actions/checkout@v3 | |
- name: Install NodeJS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: "yarn" | |
- name: Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: Lint | |
run: yarn lint | |
- name: Run Tests | |
run: yarn test |