chore(deps-dev): bump @types/react from 18.3.5 to 18.3.6 #585
Workflow file for this run
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 and Build Apps | |
on: | |
pull_request: | |
branches: ["main"] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
NODE_VERSION: 20.x | |
jobs: | |
build: | |
name: Run lint and build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js ${{ env.NODE_VERSION }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: Check changed files | |
uses: dorny/paths-filter@v3 | |
id: changes | |
with: | |
filters: | | |
frontend: | |
- "src/**" | |
- "package.json" | |
- "yarn.lock" | |
functions: | |
- "cloud/functions/**" | |
- name: Lint frontend | |
if: steps.changes.outputs.frontend == 'true' | |
run: | | |
yarn install --frozen-lockfile | |
yarn lint | |
- name: Lint functions | |
if: steps.changes.outputs.functions == 'true' | |
working-directory: ./cloud/functions | |
run: | | |
npm ci | |
npm run lint --max-warnings=0 | |
npm run build |