Files
gomoku/.github/workflows/build.yml
T
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
caac97b8d8 chore(deps): bump actions/checkout from 4 to 6 (#11)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [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/v4...v6)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-23 18:02:54 +07: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@v6
- uses: actions/setup-go@v5
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@v6
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
cache-dependency-path: client/package-lock.json
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build