Skip to content

chore(deps): bump react-router and react-router-dom in /web #124

chore(deps): bump react-router and react-router-dom in /web

chore(deps): bump react-router and react-router-dom in /web #124

Workflow file for this run

name: CI
on:
push:
branches: [main]
paths-ignore:
- 'site/**'
pull_request:
branches: [main]
paths-ignore:
- 'site/**'
jobs:
backend:
name: Backend
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
cache: true
- name: Install dependencies
run: go mod download
- name: Create frontend stub for embed
run: mkdir -p web/dist && touch web/dist/.gitkeep
- name: Lint
uses: golangci/golangci-lint-action@v7
with:
version: v2.10
- name: Build
run: |
go build -v ./internal/...
go build -v ./cmd/...
- name: Test
run: go test -v -race -coverprofile=coverage.out ./internal/...
- name: Upload coverage
uses: codecov/codecov-action@v5
if: github.event_name == 'push'
with:
files: coverage.out
fail_ci_if_error: false
frontend:
name: Frontend
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: web/package-lock.json
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Type check
run: npx tsc --noEmit
- name: Build
run: npm run build