- Updated runs-on from incus-debian to debian:host across all workflow files - Changed audit.yml, ci-cd.yml, ci.yml, fix.yml, security-scanning.yml, and test.yml - Updated cli-level1-tests.yml from ubuntu-latest to debian:host - Standardizes runner configuration across all CI/CD pipelines
36 lines
631 B
YAML
36 lines
631 B
YAML
name: ci-cd
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: debian:host
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Debug environment
|
|
run: |
|
|
echo "=== SYSTEM ==="
|
|
hostname
|
|
uname -a
|
|
whoami
|
|
echo "=== NODE ==="
|
|
node -v
|
|
npm -v
|
|
|
|
- name: Install dependencies
|
|
run: npm install --legacy-peer-deps
|
|
|
|
- name: Build
|
|
run: npm run build || echo "no build step"
|
|
|
|
- name: Test
|
|
run: npm test || echo "no tests"
|
|
|
|
- name: Audit (non-blocking)
|
|
run: npm audit || true
|