mirror of
https://github.com/selfxyz/self.git
synced 2026-01-09 14:48:06 -05:00
38 lines
778 B
YAML
38 lines
778 B
YAML
name: App CI
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "common/**"
|
|
- "app/**"
|
|
- ".github/workflows/app.yml"
|
|
- ".github/actions/**"
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: macos-14
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install Dependencies
|
|
uses: ./.github/actions/yarn-install
|
|
- name: Run linter
|
|
run: yarn lint
|
|
working-directory: ./app
|
|
- name: Run prettier
|
|
run: yarn fmt
|
|
working-directory: ./app
|
|
|
|
test:
|
|
runs-on: macos-14
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Install Dependencies
|
|
uses: ./.github/actions/yarn-install
|
|
|
|
- name: Build
|
|
run: yarn build:deps
|
|
working-directory: ./app
|
|
- name: Test
|
|
run: yarn test
|
|
working-directory: ./app
|