Add ci-resilience lock acquisition test suite

This commit is contained in:
thePR0M3TH3AN committed 2026-02-14 20:06:30 -05:00
1 parent dd95661fc1
commit 6259f7f2f5
3 files changed
+257 -1

No files matched your search

@@ -0,0 +1,35 @@
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: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Run resilience lock acquisition suite
run: npm run test:ci-resilience