Skip to content

Add github actions & remove circleci #4

Add github actions & remove circleci

Add github actions & remove circleci #4

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request: {}
env:
CMC_API_KEY: ${{ CI.CMC_API_KEY }}

Check failure on line 9 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 9, Col: 16): Unrecognized named-value: 'CI'. Located at position 1 within expression: CI.CMC_API_KEY .github/workflows/ci.yml (Line: 10, Col: 24): Unrecognized named-value: 'CI'. Located at position 1 within expression: CI.POLYGONSCAN_API_KEY
POLYGONSCAN_API_KEY: ${{ CI.POLYGONSCAN_API_KEY }}
ALCHEMY_TOKEN: ${{ CI.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