Skip to content

chore: fix prettier formatting in log-prose-results.ts #1

chore: fix prettier formatting in log-prose-results.ts

chore: fix prettier formatting in log-prose-results.ts #1

name: Company OS SOP Compliance
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: company-os-compliance-${{ github.ref }}
cancel-in-progress: false
jobs:
compliance:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build provenant
working-directory: packages/provenant
run: npx tsc
- name: Restore Provenant graph database
uses: actions/cache@v4
with:
path: .provenant/company-os.db
key: provenant-company-os-db-${{ github.run_number }}
restore-keys: provenant-company-os-db-
- name: Run Company OS integration tests and log to Provenant
run: npx tsx scripts/log-company-os-results.ts .provenant/company-os.db
- name: Print Company OS SOP compliance report
run: npx tsx packages/provenant/src/cli/index.ts compliance --db .provenant/company-os.db --system company-os-test-run
- name: Upload graph database
uses: actions/upload-artifact@v4
with:
name: provenant-graph-company-os-${{ github.run_number }}
path: .provenant/company-os.db
retention-days: 30