Skip to content

Build shared before linting #818

Build shared before linting

Build shared before linting #818

Workflow file for this run

name: Push
on: push
jobs:
build:
name: Lint and build
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16
cache: yarn
- name: Install
run: yarn --immutable
# Have to build shared before linting so type-based lint rules can
# run correctly
- name: Build shared
run: yarn build
working-directory: packages/apollo-shared
- name: Lint codebase
run: yarn eslint --ext .js,.ts,.jsx,.tsx .
- name: Build collaboration server
run: yarn build
working-directory: packages/apollo-collaboration-server
- name: Build plugin
run: yarn build
working-directory: packages/jbrowse-plugin-apollo