mirror of
https://github.com/Sea-Haven-Industries/shoc-frontend-new.git
synced 2026-10-07 16:19:01 +00:00
fix(ci): replace ambiguous check names
This commit is contained in:
parent
48768cd8c3
commit
04273e57ab
1 changed files with 16 additions and 2 deletions
18
.github/workflows/ci.yaml
vendored
18
.github/workflows/ci.yaml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
name: CI
|
||||
name: Frontend checks
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
|
@ -10,12 +10,26 @@ permissions:
|
|||
contents: read
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
build-and-test:
|
||||
name: Build and test
|
||||
# Org reusable workflow (Node 24): format check, lint, build, unit tests.
|
||||
uses: Sea-Haven-Industries/.github/.github/workflows/ci-typescript-frontend.yaml@main
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
# Temporary compatibility check for the existing branch-protection context.
|
||||
# Remove after both repository rulesets require `Build and test / ci`.
|
||||
ci-compatibility:
|
||||
name: ci / ci
|
||||
needs: build-and-test
|
||||
if: ${{ always() }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Propagate build-and-test result
|
||||
env:
|
||||
BUILD_AND_TEST_RESULT: ${{ needs.build-and-test.result }}
|
||||
run: test "${BUILD_AND_TEST_RESULT}" = "success"
|
||||
|
||||
governance:
|
||||
# Repo-owned guarantee that every frontend quality gate runs from this
|
||||
# repository, independent of (and in addition to) the reusable workflow.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue