Files
gomoku/.github/workflows/build.yml
T
dependabot[bot]andGitHub 691abb62cf chore(deps): bump actions/checkout from 6 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-01 15:58:00 +00:00

60 lines
1.1 KiB
YAML

name: build
on:
push:
branches: [main]
paths-ignore:
- "**.md"
- ".gitignore"
- "plans/**"
- "docs/**"
pull_request:
branches: [main]
jobs:
server:
name: Go server — vet + test + build
runs-on: ubuntu-latest
defaults:
run:
working-directory: server
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v6
with:
go-version: "1.23"
- name: Download modules
run: go mod download
- name: Vet
run: go vet ./...
- name: Test
run: go test ./... -count=1
- name: Build
run: go build ./...
client:
name: Node client — install + build
runs-on: ubuntu-latest
defaults:
run:
working-directory: client
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: npm
cache-dependency-path: client/package-lock.json
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build