mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-11-05 20:31:54 +00:00
- Added `.github/workflows/ci.yml` to run build, lint, and test on PRs/push to main. - Updated `.github/workflows/ci-resilience-nightly.yml` to use Node.js 22. - Fixed lint errors in `src/services/governance/index.js` (no-empty, preserve-caught-error). - Added `governance-agent` to daily roster and scheduler prompt to fix `npm test` scheduler validation failure. Co-authored-by: PR0M3TH3AN <[email protected]>
36 lines
752 B
YAML
36 lines
752 B
YAML
name: ci-resilience-nightly
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '20 3 * * *'
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'src/lock-ops.mjs'
|
|
- 'test/lock-acquisition-resilience.integration.test.mjs'
|
|
- 'package.json'
|
|
- 'package-lock.json'
|
|
- '.github/workflows/ci-resilience-nightly.yml'
|
|
|
|
jobs:
|
|
ci-resilience:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 20
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
cache: npm
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Run resilience lock acquisition suite
|
|
run: npm run test:ci-resilience
|