ci: standardize CI/CD workflows and add Renovate

- CI: single sequential job, local-ubuntu-latest runner, Node 22, workflow_call trigger, npm run commands
- Release: CI gate via reusable workflow, concurrency protection, dynamic package name, tarball validation, gh CLI
- Add renovate.json with recommended config

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
DevContainer User
2026-03-04 00:41:29 +00:00
parent 23148bfaff
commit 28f432f2bf
3 changed files with 62 additions and 62 deletions
+7 -6
View File
@@ -5,9 +5,10 @@ on:
branches: [main]
pull_request:
branches: [main]
workflow_call:
jobs:
lint-and-test:
ci:
runs-on: local-ubuntu-latest
timeout-minutes: 10
@@ -18,7 +19,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'
cache: 'npm'
- name: Install dependencies
@@ -28,13 +29,13 @@ jobs:
run: npx @kinvolk/headlamp-plugin build
- name: Lint
run: npx eslint --ext .ts,.tsx src/
run: npm run lint
- name: Type-check
run: npx tsc --noEmit
run: npm run tsc
- name: Format check
run: npx prettier --check src/
run: npm run format:check
- name: Run unit tests
- name: Run tests
run: npm test