Skip to content

feat: introduce @sigyn/lab #467

feat: introduce @sigyn/lab

feat: introduce @sigyn/lab #467

Workflow file for this run

name: Sigyn Agent
on:
push:
branches: [main]
pull_request:
paths:
- "package-lock.json"
- "src/agent/**"
- ".github/workflows/agent.yml"
- "!src/agent/**/*.md"
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.x]
fail-fast: false
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
with:
egress-policy: audit
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ matrix.node-version }}
- name: Unit tests
uses: Wandalen/wretry.action@ffdd254f4eaf1562b8a2c66aeaa37f1ff2231179 # v3.7.3
with:
command: npm ci && npm run build && npm run test --workspace=src/agent
attempt_limit: 3
- name: Install dependencies
run: npm ci
- name: Build packages
run: npm run build
- name: Run e2e tests
run: npm run test:e2e --workspace=src/agent