Skip to content

Merge pull request #16 from 1inch/fix/dependabot-issues #77

Merge pull request #16 from 1inch/fix/dependabot-issues

Merge pull request #16 from 1inch/fix/dependabot-issues #77

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- run: yarn
- run: yarn lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- run: yarn
- run: yarn test:ci
env:
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- run: yarn
- run: yarn coverage
env:
MAINNET_RPC_URL: ${{ secrets.MAINNET_RPC_URL }}
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}