Skip to content

moved auth middleware #28

moved auth middleware

moved auth middleware #28

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