adds lint checks to web shared pkg #213
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |