Skip to content

Merge pull request #5 from JulienR1/features/teammate-panel #24

Merge pull request #5 from JulienR1/features/teammate-panel

Merge pull request #5 from JulienR1/features/teammate-panel #24

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
check-web:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./web
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "18.x"
cache: "npm"
cache-dependency-path: ./web/package-lock.json
- name: Install
run: npm ci
- name: Lint
run: npm run lint
- name: Test
run: npm run test
- name: Build
run: npm run build
check-server:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./server
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.21.x"
cache-dependency-path: ./server/go.mod
- name: Vet
run: go vet ./...
- name: Test
run: go test ./...
- name: Build
run: go build ./cmd/server/main.go