Files
llink/.github/workflows/pr-quality-gate-js.yml
T
Arjun Patel 9184d002d3 update copy for sign in views (#238)
* update copy for sign in views

This disambiguates whether the view is for sign up or sign in.

* format

* escape character

* format

* update workflow names
2026-06-02 09:39:11 -07:00

69 lines
1.3 KiB
YAML

name: PR Quality Gate (client applications)
on:
pull_request:
paths:
- "js/mobile/**"
- "js/desktop/**"
branches: [ main ]
types: [ opened, synchronize, reopened ]
jobs:
mobile:
name: Lint & format check (mobile)
runs-on: ubuntu-latest
defaults:
run:
working-directory: js/mobile
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: yarn install --immutable
- name: Run Code Linter
run: yarn lint
- name: Run Format Check
run: yarn format:check
desktop:
name: Lint & format check (desktop)
runs-on: ubuntu-latest
defaults:
run:
working-directory: js/desktop
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: yarn install --immutable
- name: Run Code Linter
run: yarn lint
- name: Run Format Check
run: yarn format:check