Skip to content

chore(deps-dev): bump eslint from 8.57.0 to 9.12.0 in /cloud/functions #638

chore(deps-dev): bump eslint from 8.57.0 to 9.12.0 in /cloud/functions

chore(deps-dev): bump eslint from 8.57.0 to 9.12.0 in /cloud/functions #638

Workflow file for this run

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