30 lines
857 B
YAML
30 lines
857 B
YAML
name: ChatGPT validation
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'codex/**'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
quality:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
|
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@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
|
with:
|
|
name: forgeflow-browser-failure-evidence
|
|
path: artifacts/
|
|
if-no-files-found: ignore
|
|
- run: npm audit --omit=dev --audit-level=high
|