Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
timeout-minutes: 6
services:
redis:
image: redis
Expand Down Expand Up @@ -47,21 +47,21 @@ jobs:

- name: Install dependencies
run: pnpm install --frozen-lockfile
timeout-minutes: 5
timeout-minutes: 2

- name: Setup MongoDB Memory Server
run: |
# Pre-download MongoDB binary for mongodb-memory-server
# This allows integration tests to run without network access during tests
cd packages/drivers/mongo
npx mongodb-memory-server preinstall || echo "MongoDB binary download failed, tests will skip gracefully"
timeout-minutes: 3
timeout-minutes: 1
continue-on-error: true

- name: Build packages
run: pnpm run build
timeout-minutes: 10
timeout-minutes: 3

- name: Run tests
run: pnpm run test
timeout-minutes: 10
timeout-minutes: 5
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
analyze:
name: Analyze Code
runs-on: ubuntu-latest
timeout-minutes: 15
timeout-minutes: 6
permissions:
actions: read
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
jobs:
dependency-review:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 3
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# Build job
build:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -51,11 +51,11 @@ jobs:

- name: Install dependencies
run: pnpm install
timeout-minutes: 5
timeout-minutes: 2

- name: Build with VitePress
run: pnpm run docs:build
timeout-minutes: 5
timeout-minutes: 2

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand All @@ -69,7 +69,7 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
timeout-minutes: 5
timeout-minutes: 2
name: Deploy
steps:
- name: Deploy to GitHub Pages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
jobs:
labeler:
runs-on: ubuntu-latest
timeout-minutes: 5
timeout-minutes: 3
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
timeout-minutes: 20
timeout-minutes: 10
steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand Down Expand Up @@ -48,12 +48,12 @@ jobs:

- name: Install Dependencies
run: pnpm install
timeout-minutes: 5
timeout-minutes: 2

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
timeout-minutes: 10
timeout-minutes: 5
with:
# This executes the release script defined in package.json
publish: pnpm release
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions:
jobs:
stale:
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 3
steps:
- name: Mark/Close Stale Issues and PRs
uses: actions/stale@v9
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
typecheck:
name: TypeScript Type Check
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 3

steps:
- uses: actions/checkout@v4
Expand All @@ -27,10 +27,10 @@ jobs:

- name: Install dependencies
run: pnpm install --frozen-lockfile
timeout-minutes: 5
timeout-minutes: 2

- name: Run TypeScript type check
run: |
echo "Running TypeScript compiler in build mode for type checking..."
pnpm tsc -b
timeout-minutes: 5
timeout-minutes: 2
6 changes: 3 additions & 3 deletions .github/workflows/validate-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
validate:
name: Validate YAML Metadata
runs-on: ubuntu-latest
timeout-minutes: 10
timeout-minutes: 3

steps:
- uses: actions/checkout@v4
Expand All @@ -43,10 +43,10 @@ jobs:

- name: Install dependencies
run: pnpm install --frozen-lockfile
timeout-minutes: 5
timeout-minutes: 2

- name: Validate YAML syntax
run: |
echo "Checking YAML syntax for metadata files..."
pnpm exec node scripts/validate-yaml.js
timeout-minutes: 5
timeout-minutes: 1
Loading