-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (35 loc) · 1.15 KB
/
app.check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Check
on:
pull_request:
branches:
- main
- development
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: ./.github/prepare-action
with:
openai-api-key: ${{ secrets.OPENAI_API_KEY }}
app-debug: false
wp-username: ${{ secrets.WP_USERNAME }}
wp-password: ${{ secrets.WP_PASSWORD }}
node-version: 18.x
- name: Install NPM dependencies
run: npm ci
- name: Run Expo doctor
run: npm run expo:doctor
- name: Run ESLint
run: npm run lint:run
- name: Run Prettier
run: npm run prettier:run
- name: Run TypeScript check
run: npm run tsc:run
- name: Run Dependencies usage check
run: npm run depcheck:run
- name: Run Unit & Component tests
run: npm run jest-less-strict:run
- uses: ./.github/cleanup-action
if: always()