Skip to content

Commit 37fdcdb

Browse files
authored
Merge branch 'master' into dependabot/bun/typescript-7.0.2
2 parents 06c6a62 + 742dcda commit 37fdcdb

19 files changed

Lines changed: 1135 additions & 582 deletions

.github/workflows/canary-release.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/ecr-deploy.yml

Lines changed: 0 additions & 57 deletions
This file was deleted.

.github/workflows/mcp-registry.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 26 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test
1+
name: CI
22

33
on:
44
pull_request:
@@ -15,58 +15,51 @@ on:
1515
branches: [master]
1616
workflow_dispatch:
1717

18+
permissions:
19+
contents: read
20+
1821
concurrency:
1922
group: ${{ github.workflow }}-${{ github.ref }}
2023
cancel-in-progress: true
2124

2225
jobs:
23-
test:
26+
verify:
27+
name: Build, test, and audit
2428
runs-on: ubuntu-latest
25-
steps:
26-
- uses: actions/checkout@v7
29+
timeout-minutes: 15
2730

28-
- name: Setup Node
29-
uses: actions/setup-node@v6
30-
with:
31-
node-version: "20"
31+
steps:
32+
- name: Check out repository
33+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
3234

33-
- name: Setup pnpm
34-
uses: pnpm/action-setup@v4
35+
- name: Set up pnpm
36+
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
3537
with:
3638
version: 10
3739

38-
- name: Get pnpm store directory
39-
id: pnpm-cache
40-
shell: bash
41-
run: |
42-
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
43-
44-
- name: Cache pnpm dependencies
45-
uses: actions/cache@v6
40+
- name: Set up Node.js
41+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
4642
with:
47-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
48-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
49-
restore-keys: |
50-
${{ runner.os }}-pnpm-store-
43+
node-version: "26"
44+
cache: pnpm
5145

52-
- name: Install Dependencies
46+
- name: Install dependencies
5347
run: pnpm install --frozen-lockfile
5448

5549
- name: Lint
56-
run: pnpm lint:check
50+
run: pnpm --filter @upstash/context7-mcp lint:check
5751

5852
- name: Format
59-
run: pnpm format:check
53+
run: pnpm --filter @upstash/context7-mcp format:check
6054

6155
- name: Build
62-
run: pnpm build
56+
run: pnpm --filter @upstash/context7-mcp build
6357

6458
- name: Typecheck
65-
run: pnpm typecheck
59+
run: pnpm --filter @upstash/context7-mcp typecheck
60+
61+
- name: Test local MCP
62+
run: pnpm --filter @upstash/context7-mcp test
6663

67-
- name: Test
68-
run: pnpm test
69-
env:
70-
AWS_REGION: ${{ secrets.AWS_REGION }}
71-
AWS_BEARER_TOKEN_BEDROCK: ${{ secrets.AWS_BEARER_TOKEN_BEDROCK }}
72-
CONTEXT7_API_KEY: ${{ secrets.CONTEXT7_API_KEY }}
64+
- name: Audit production dependencies
65+
run: pnpm audit --prod --audit-level low

.github/workflows/triage-library-report.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
26.5.0

0 commit comments

Comments
 (0)