mirror of
https://github.com/sbuffkin/hexmaker.git
synced 2026-07-22 14:30:24 +00:00
- Release workflow now triggers on push to master instead of manual tag - Reads version from manifest.json, skips if release already exists - Creates git tag and publishes release with --generate-notes automatically - CI restricted to branch pushes to avoid double-run on tag creation Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
28 lines
447 B
YAML
28 lines
447 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "**"
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "20.x"
|
|
cache: "npm"
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Build & type-check
|
|
run: npm run build
|
|
|
|
- name: Run tests
|
|
run: npm test
|