Fixing errors in development #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |