mirror of
https://github.com/UNITRONIX/BetterDesk.git
synced 2026-09-09 17:16:46 +00:00
ed96e94806
- Updated session control mechanisms to ensure proper handling of remote input and clipboard operations. - Introduced session authorization checks to validate operator permissions before starting desktop sessions. - Improved input injection logic to prevent unauthorized access during active sessions. - Added new capabilities for managing session flags and controls, ensuring a more robust and secure desktop experience. - Enhanced error handling and logging for better traceability of session-related actions.
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
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: Check browser JavaScript syntax
|
|
run: npm run check:frontend
|
|
|
|
- name: Verify protocol schema artifacts
|
|
run: npm run protocols:check
|
|
|
|
- name: Run tests
|
|
run: npm run test:ci
|