Skip to content

Prettier

Prettier #5

name: Continuous build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint-build:
runs-on: ubuntu-latest
steps:
- name: Clone @api3/migrate-from-chainlink-to-api3
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
- name: Build
run: yarn build
test:
runs-on: ubuntu-latest
steps:
- name: Clone @api3/migrate-from-chainlink-to-api3
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Test
run: yarn test