feat: update backend and add just for commands #19
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
mobile: | |
name: Test Mobile | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Init Hermit | |
uses: cashapp/activate-hermit@v1 | |
with: | |
cache: true | |
- name: Get dependencies | |
working-directory: ./frontend/mobile | |
run: flutter pub get | |
- name: Analyze | |
working-directory: ./frontend/mobile | |
run: flutter analyze | |
- name: Test | |
working-directory: ./frontend/mobile | |
run: flutter test | |
web: | |
name: Test Web | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Init Hermit | |
uses: cashapp/activate-hermit@v1 | |
- name: Get dependencies | |
working-directory: ./frontend/web | |
run: npm install | |
- name: Type check | |
working-directory: ./frontend/web | |
run: tsc | |
- name: Test | |
working-directory: ./frontend/web | |
run: npm run test |