Skip to content

Merge pull request #61 from Nearblocks/fix/api-env #71

Merge pull request #61 from Nearblocks/fix/api-env

Merge pull request #61 from Nearblocks/fix/api-env #71

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
types: [opened, synchronize]
jobs:
build:
name: Build, Lint & Format
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Lint & Format
run: yarn lint:check && yarn format:check
- name: Build
run: yarn build