ci: add managed exact-head validation gate
This commit is contained in:
@@ -0,0 +1,26 @@
|
|||||||
|
name: ChatGPT validation
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
quality:
|
||||||
|
runs-on: windows-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 22
|
||||||
|
cache: npm
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run quality
|
||||||
|
- run: npx playwright install --with-deps chromium
|
||||||
|
- run: npm run test:browser:ci
|
||||||
|
- name: Preserve browser failure evidence
|
||||||
|
if: failure()
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: forgeflow-browser-failure-evidence
|
||||||
|
path: artifacts/
|
||||||
|
if-no-files-found: ignore
|
||||||
|
- run: npm audit --omit=dev --audit-level=high
|
||||||
Reference in New Issue
Block a user