sbuffkin_hexmaker/.github/workflows/ci.yml
isaprettycoolguy@protonmail.com 6a85426571 fix release workflow: skip tag push if tag exists, bump Node to lts/*
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>
2026-05-15 14:26:12 -04:00

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