Skip to content

adds lint checks to web shared pkg #213

adds lint checks to web shared pkg

adds lint checks to web shared pkg #213

Workflow file for this run

name: Lint Web Packages
on:
push:
paths:
- 'web-embeds/**'
- 'packages/web-shared/**'
- '.github/workflows/lint.yml'
- 'package.json'
- 'yarn.lock'
pull_request:
paths:
- 'web-embeds/**'
- 'packages/web-shared/**'
- '.github/workflows/lint.yml'
- 'package.json'
- 'yarn.lock'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint web embeds
run: yarn workspace @apollosproject/apollos-embeds lint
- name: Lint web shared
run: yarn workspace @apollosproject/web-shared lint