bff9014cf8
ARC runner scale set was recreated on 2026-03-19 with label `runners-privilegedescalation` but all shared workflows still referenced `local-ubuntu-latest`. This label mismatch caused startup_failure on every Release workflow and queued CI jobs with no runner to pick them up. Updates all 4 workflows and the actionlint config to match the current ARC runner scale set label. Closes #27
47 lines
883 B
YAML
47 lines
883 B
YAML
name: Plugin CI
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
node-version:
|
|
description: 'Node.js version to use'
|
|
required: false
|
|
type: string
|
|
default: '22'
|
|
|
|
jobs:
|
|
ci:
|
|
runs-on: runners-privilegedescalation
|
|
timeout-minutes: 10
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ inputs.node-version }}
|
|
cache: 'npm'
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Build plugin
|
|
run: npx @kinvolk/headlamp-plugin build
|
|
|
|
- name: Lint
|
|
run: npm run lint
|
|
|
|
- name: Type-check
|
|
run: npm run tsc
|
|
|
|
- name: Format check
|
|
run: npm run format:check
|
|
|
|
- name: Run tests
|
|
run: npm test
|
|
|
|
- name: Security audit
|
|
run: npm audit --omit=dev
|