mirror of
https://github.com/selfxyz/self.git
synced 2026-02-19 02:24:25 -05:00
40 lines
875 B
YAML
40 lines
875 B
YAML
name: App CI
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "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
|
|
with:
|
|
working_directory: ./app
|
|
- 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
|
|
with:
|
|
working_directory: ./app
|
|
- name: Install app dependencies
|
|
run: yarn install-app
|
|
working-directory: ./app
|
|
- name: Test
|
|
run: yarn test
|
|
working-directory: ./app
|