Skip to content

Tracing into storage #1021

Tracing into storage

Tracing into storage #1021

Workflow file for this run

name: Core Package Tests
on:
pull_request:
branches: [main]
paths:
- "packages/core/**"
- ".github/workflows/test-core.yml"
jobs:
test:
runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
serverless-redis-http:
image: hiett/serverless-redis-http:latest
ports:
- "8079:80"
env:
SRH_MODE: env
SRH_TOKEN: example_token
SRH_CONNECTION_STRING: "redis://redis:6379"
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 9.7.0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build cli
run: pnpm build:core && pnpm build:deployer && pnpm build:cli
- name: Run Core tests
run: pnpm test:core
env:
NODE_OPTIONS: "--max_old_space_size=8096"
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}