Files
BetterDesk/.github/workflows/web-nodejs-ci.yml
T
UNITRONIX abe0d52fe4 chore: refresh EOL runtimes and patch non-agent dependencies
Move Docker/CI/installers to Node 24 and Go 1.26 images, bump Alpine server runtime, apply safe npm/Go patch updates, migrate SNMP to pysnmp, and document deferred majors.
2026-08-01 09:19:42 +02:00

42 lines
944 B
YAML

name: Web Console CI
on:
push:
branches: [main, dev]
paths:
- 'web-nodejs/**'
- '.github/workflows/web-nodejs-ci.yml'
pull_request:
branches: [main, dev]
paths:
- 'web-nodejs/**'
- '.github/workflows/web-nodejs-ci.yml'
permissions:
contents: read
jobs:
test-and-audit:
if: github.event_name != 'push' || !contains(github.event.head_commit.message, '[version-bump]')
runs-on: ubuntu-latest
defaults:
run:
working-directory: web-nodejs
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '24'
cache: npm
cache-dependency-path: web-nodejs/package-lock.json
- name: Install dependencies
run: npm ci --no-audit --no-fund
- name: npm audit (moderate+)
run: npm audit --omit=dev --audit-level=moderate
- name: Run tests
run: npm run test:ci