refactor: table and column names #320
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: | |
- master | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
# TODO: Adapt to new flutter | |
# check-frontend: | |
# name: Format, Lint, Types (Frontend) | |
# runs-on: ubuntu-latest | |
# | |
# steps: | |
# - name: Checkout repository | |
# uses: actions/checkout@v2 | |
# | |
# - uses: pnpm/action-setup@v4 | |
# with: | |
# version: 8 | |
# | |
# - name: Install deps | |
# run: pnpm i | |
# working-directory: ./frontend | |
# | |
# - name: Check Format | |
# run: pnpm format:check | |
# working-directory: ./frontend | |
# | |
# - name: Check Lint | |
# run: pnpm lint | |
# working-directory: ./frontend | |
# | |
# - name: Check Types | |
# run: pnpm types | |
# working-directory: ./frontend | |
# | |
check-backend: | |
name: Format, Lint, Types (Backend) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: Install deps | |
run: pnpm i | |
working-directory: ./backend | |
- name: Check Format | |
run: pnpm format:check | |
working-directory: ./backend | |
- name: Check Lint | |
run: pnpm lint | |
working-directory: ./backend | |
- name: Check Types | |
run: pnpm types | |
working-directory: ./backend | |
- name: Run tests | |
run: | | |
echo DATABASE_URL=${{ secrets.DATABASE_URL }} >> .env.test | |
pnpm test | |
working-directory: ./backend |