Updated workflows to use workflow_dispatch instead of pull_request/push: - backend-foundation.yml: Removed pull_request and push triggers - mobile-ci.yml: Removed pull_request and push triggers with path filters - web-quality.yml: Removed pull_request and push triggers Workflows now only run manually via Actions tab. This gives more control over when CI runs and reduces unnecessary workflow executions.
53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
name: Web Quality
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
web-quality:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: apps/web
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 10
|
|
run_install: false
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
cache: pnpm
|
|
cache-dependency-path: apps/web/pnpm-lock.yaml
|
|
|
|
- name: Setup Firebase CLI
|
|
working-directory: .
|
|
run: npm install -g firebase-tools
|
|
|
|
- name: Generate Data Connect SDK
|
|
working-directory: .
|
|
run: |
|
|
cp backend/dataconnect/dataconnect.dev.yaml backend/dataconnect/dataconnect.yaml
|
|
firebase dataconnect:sdk:generate --non-interactive
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Lint
|
|
run: pnpm lint
|
|
|
|
- name: Typecheck
|
|
run: pnpm typecheck
|
|
|
|
- name: Test
|
|
run: pnpm test
|
|
|
|
- name: Build
|
|
run: pnpm build
|