Add modular directory to targetLocations checked by typecheck #4865
This file contains 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 | |
on: | |
push: | |
branches: [main, 'release/**', 'feature/**'] | |
pull_request: | |
branches: [main, 'release/**', 'feature/**'] | |
jobs: | |
Static: | |
name: ${{ matrix.name }} | |
runs-on: ubuntu-latest | |
env: | |
MODULAR_LOGGER_DEBUG: true | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- name: Prettier | |
command: 'prettier --check .' | |
- name: Typecheck | |
command: typecheck | |
- name: Lint | |
command: lint | |
- name: Build | |
command: build | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3.3.0 | |
with: | |
node-version: '18.x' | |
cache: 'yarn' | |
- name: 'Install Dependencies' | |
run: yarn --frozen-lockfile | |
- name: 'Build internal prerequisites' | |
run: yarn workspace @modular-scripts/workspace-resolver build | |
- name: ${{ matrix.name }} | |
run: yarn ${{ matrix.command }} |