Skip to content

README & Docs for v2.0 #9

README & Docs for v2.0

README & Docs for v2.0 #9

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches:
- "**"
workflow_dispatch:
env:
CMC_API_KEY: ${{ secrets.CMC_API_KEY }}
POLYGONSCAN_API_KEY: ${{ secrets.POLYGONSCAN_API_KEY }}
ALCHEMY_TOKEN: ${{ secrets.ALCHEMY_TOKEN }}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- run: yarn
- run: yarn lint
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- run: yarn
- run: yarn build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- run: yarn
- run: yarn test