mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-09-30 17:33:11 +00:00
The workflow-templates catalog offered starter workflows for only 7 of the 12 reusable workflows in .github/workflows, so ci-python-app, ci-typescript-frontend, ci-static, ci-dotnet and cd-mobile-ios were invisible in the org's Actions > New workflow UI and had to be wired by hand. Add a template + properties.json pair for each. Each caller CI job is keyed `ci` so the check context resolves to the `ci / ci` required by the org ruleset, and every reusable ref is pinned to the same 40-char SHA the existing templates use. node-version: "24" is passed on the three reusables that declare the input (ci-typescript-frontend, ci-static, cd-mobile-ios); ci-python-app and ci-dotnet do not declare it, so it is omitted there.
14 lines
530 B
YAML
14 lines
530 B
YAML
name: CI (TypeScript / frontend)
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
ci:
|
|
# Job id MUST stay `ci`: the reusable's job is also `ci`, so the check
|
|
# context resolves to the required `ci / ci`.
|
|
uses: Sea-Haven-Industries/.github/.github/workflows/ci-typescript-frontend.yaml@555d07c3a240689a81668026787eba089df4c975 # main
|
|
with:
|
|
# Pinned explicitly (handbook): local dev is Node 24 / npm 11, which
|
|
# generates lockfileVersion 3. Being explicit avoids lockfile drift.
|
|
node-version: "24"
|