mirror of
https://github.com/sbuffkin/hexmaker.git
synced 2026-07-22 06:14:01 +00:00
Prevented exit-128 crash when a fix commit pushes to master at the same version — the workflow now checks for an existing remote tag before attempting to push one, so the release step can still create the GitHub release even if the tag is already there. Also updated both workflows from node-version 20.x to lts/* ahead of the GitHub-enforced Node 24 migration deadline (2026-06-02). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
28 lines
476 B
YAML
28 lines
476 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: "lts/*"
|
|
cache: "npm"
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Build & type-check
|
|
run: npm run build
|
|
|
|
- name: Run tests
|
|
run: npm test
|