Merge pull request #1836 from PackRat-AI/chore/expo-54-upgrade #465
This file contains hidden or 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: API Tests | |
| on: | |
| push: | |
| branches: ["main", "development"] | |
| paths: | |
| - "packages/api/**" | |
| pull_request: | |
| branches: ["**"] | |
| paths: | |
| - "packages/api/**" | |
| permissions: | |
| contents: read | |
| jobs: | |
| api-tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v1 | |
| with: | |
| bun-version: latest | |
| - name: Install dependencies | |
| env: | |
| PACKRAT_NATIVEWIND_UI_GITHUB_TOKEN: ${{ secrets.PACKRAT_NATIVEWIND_UI_GITHUB_TOKEN }} | |
| run: bun install | |
| - name: Run API tests | |
| run: bun run --cwd packages/api test |