Skip to content

Fixed linting bug? Added USDC to contracts and frontend, still needs … #350

Fixed linting bug? Added USDC to contracts and frontend, still needs …

Fixed linting bug? Added USDC to contracts and frontend, still needs … #350

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [lts/*]
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup node env
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: yarn
- name: Install dependencies
run: yarn install --immutable
- name: Install foundry-toolchain
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run foundry node, deploy contracts (& generate contracts typescript output)
env:
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
PUNKSOCIETY_RPC_URL: ${{ secrets.PUNKSOCIETY_RPC_URL }}
DEPLOYER_PRIVATE_KEY: ${{ secrets.DEPLOYER_PRIVATE_KEY }}
run: yarn chain & yarn deploy
- name: Run nextjs lint
run: yarn next:lint --max-warnings=0
- name: Check typings on nextjs
run: yarn next:check-types