Skip to content

Rewrite both backend and frontend. #28

Rewrite both backend and frontend.

Rewrite both backend and frontend. #28

Workflow file for this run

name: Development Checks
on:
pull_request:
branches: [master]
push:
branches-ignore: [master]
jobs:
lint-go:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Static check
run: go install honnef.co/go/tools/cmd/staticcheck@latest && staticcheck ./...
lint-expo:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: 🏗 Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10
- name: Install dependencies
run: pnpm install
# - name: Lint code
# run: pnpm run lint # ensure you have a lint script in package.json (e.g., "lint": "eslint .")