Skip to content

Commit 1aa46c0

Browse files
authored
chore(ci): adopt node-ci gold-standard reusable (#604)
Pilots the org **node-ci** gold-standard meta-reusable (netresearch/.github#248). Replaces `lint.and.build.yml` + `codeql.yml` + `security.yml` with one `ci.yml` calling `node-ci.yml` (lint/type-check/test/build + node-audit + codeql + gitleaks + dependency-review). References the reusable's `@feat/node-gold-standard` branch for validation; flips to `@main` once #248 merges. Required checks (🔎 Lint, 🔨 Build) will be updated to the new `ci / …` names once the run reports them.
2 parents 9b0f077 + 044a158 commit 1aa46c0

4 files changed

Lines changed: 32 additions & 136 deletions

File tree

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
permissions: {}
9+
10+
concurrency:
11+
group: ci-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
# Whole CI surface via the org node gold-standard reusable: TS
16+
# lint/type-check, tests, build, dependency audit, CodeQL, secret
17+
# scanning, dependency review. Replaces lint.and.build.yml + codeql.yml +
18+
# security.yml.
19+
ci:
20+
uses: netresearch/.github/.github/workflows/node-ci.yml@main
21+
permissions:
22+
actions: read
23+
contents: read
24+
security-events: write
25+
pull-requests: write
26+
with:
27+
package-manager: bun
28+
type-check-cmd: "bun run build:lib"
29+
build-cmd: "bun run build:lib"
30+
enable-format-check: false
31+
secrets:
32+
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}

.github/workflows/codeql.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/lint.and.build.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.

.github/workflows/security.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)