Skip to content

Commit e1b3c28

Browse files
committed
revert leftovers
1 parent bbaf366 commit e1b3c28

File tree

3 files changed

+9
-41
lines changed

3 files changed

+9
-41
lines changed

.github/workflows/code-health-fork.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,11 @@ jobs:
4747
steps:
4848
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
4949
- uses: actions/checkout@v5
50+
- uses: pnpm/action-setup@v4
5051
- uses: actions/setup-node@v6
5152
with:
5253
node-version-file: package.json
53-
- uses: pnpm/action-setup@v4
54-
- name: Get pnpm store directory
55-
id: pnpm-cache
56-
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
57-
- uses: actions/cache@v4
58-
with:
59-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
60-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
61-
restore-keys: |
62-
${{ runner.os }}-pnpm-store-
54+
cache: "pnpm"
6355
- name: Install dependencies
6456
run: pnpm install --frozen-lockfile
6557
- name: Run tests

.github/workflows/code-health.yml

Lines changed: 6 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,11 @@ jobs:
5757
- uses: actions/checkout@v5
5858
with:
5959
persist-credentials: false
60+
- uses: pnpm/action-setup@v4
6061
- uses: actions/setup-node@v6
6162
with:
6263
node-version-file: package.json
63-
- uses: pnpm/action-setup@v4
64-
- name: Get pnpm store directory
65-
id: pnpm-cache
66-
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
67-
- uses: actions/cache@v4
68-
with:
69-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
70-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
71-
restore-keys: |
72-
${{ runner.os }}-pnpm-store-
64+
cache: "pnpm"
7365
- name: Install dependencies
7466
run: pnpm install --frozen-lockfile
7567
- name: Run tests
@@ -94,19 +86,11 @@ jobs:
9486
- uses: actions/checkout@v5
9587
with:
9688
persist-credentials: false
89+
- uses: pnpm/action-setup@v4
9790
- uses: actions/setup-node@v6
9891
with:
9992
node-version-file: package.json
100-
- uses: pnpm/action-setup@v4
101-
- name: Get pnpm store directory
102-
id: pnpm-cache
103-
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
104-
- uses: actions/cache@v4
105-
with:
106-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
107-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
108-
restore-keys: |
109-
${{ runner.os }}-pnpm-store-
93+
cache: "pnpm"
11094
- name: Install dependencies
11195
run: pnpm install --frozen-lockfile
11296
- name: Run tests
@@ -127,19 +111,11 @@ jobs:
127111
- uses: actions/checkout@v5
128112
with:
129113
persist-credentials: false
114+
- uses: pnpm/action-setup@v4
130115
- uses: actions/setup-node@v6
131116
with:
132117
node-version-file: package.json
133-
- uses: pnpm/action-setup@v4
134-
- name: Get pnpm store directory
135-
id: pnpm-cache
136-
run: echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
137-
- uses: actions/cache@v4
138-
with:
139-
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
140-
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
141-
restore-keys: |
142-
${{ runner.os }}-pnpm-store-
118+
cache: "pnpm"
143119
- name: Install dependencies
144120
run: pnpm install --frozen-lockfile
145121
- name: Download test results

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM node:24-alpine
22
ARG VERSION=latest
33
RUN addgroup -S mcp && adduser -S mcp -G mcp
4-
RUN npm install -g pnpm && pnpm install -g mongodb-mcp-server@${VERSION}
4+
RUN npm install -g mongodb-mcp-server@${VERSION}
55
USER mcp
66
WORKDIR /home/mcp
77
ENV MDB_MCP_LOGGERS=stderr,mcp

0 commit comments

Comments
 (0)