@@ -29,14 +29,15 @@ jobs:
2929 name : Setup Docker Environment
3030 with :
3131 set-host : true
32+ - uses : pnpm/action-setup@v4
3233 - uses : actions/setup-node@v6
3334 with :
3435 node-version-file : package.json
35- cache : " npm "
36+ cache : " pnpm "
3637 - name : Install dependencies
37- run : npm ci
38+ run : pnpm install --frozen-lockfile
3839 - name : Run tests
39- run : npm test
40+ run : pnpm test
4041 env :
4142 SKIP_ATLAS_TESTS : " true"
4243 SKIP_ATLAS_LOCAL_TESTS : " true"
@@ -56,18 +57,19 @@ jobs:
5657 - uses : actions/checkout@v5
5758 with :
5859 persist-credentials : false
60+ - uses : pnpm/action-setup@v4
5961 - uses : actions/setup-node@v6
6062 with :
6163 node-version-file : package.json
62- cache : " npm "
64+ cache : " pnpm "
6365 - name : Install dependencies
64- run : npm ci
66+ run : pnpm install --frozen-lockfile
6567 - name : Run tests
6668 env :
6769 MDB_MCP_API_CLIENT_ID : ${{ secrets.TEST_ATLAS_CLIENT_ID }}
6870 MDB_MCP_API_CLIENT_SECRET : ${{ secrets.TEST_ATLAS_CLIENT_SECRET }}
6971 MDB_MCP_API_BASE_URL : ${{ vars.TEST_ATLAS_BASE_URL }}
70- run : npm test -- tests/integration/tools/atlas/
72+ run : pnpm test tests/integration/tools/atlas/
7173 - name : Upload test results
7274 uses : actions/upload-artifact@v5
7375 if : always()
@@ -84,14 +86,15 @@ jobs:
8486 - uses : actions/checkout@v5
8587 with :
8688 persist-credentials : false
89+ - uses : pnpm/action-setup@v4
8790 - uses : actions/setup-node@v6
8891 with :
8992 node-version-file : package.json
90- cache : " npm "
93+ cache : " pnpm "
9194 - name : Install dependencies
92- run : npm ci
95+ run : pnpm install --frozen-lockfile
9396 - name : Run tests
94- run : npm test -- tests/integration/tools/atlas-local/
97+ run : pnpm test tests/integration/tools/atlas-local/
9598 - name : Upload test results
9699 uses : actions/upload-artifact@v5
97100 if : always()
@@ -108,12 +111,13 @@ jobs:
108111 - uses : actions/checkout@v5
109112 with :
110113 persist-credentials : false
114+ - uses : pnpm/action-setup@v4
111115 - uses : actions/setup-node@v6
112116 with :
113117 node-version-file : package.json
114- cache : " npm "
118+ cache : " pnpm "
115119 - name : Install dependencies
116- run : npm ci
120+ run : pnpm install --frozen-lockfile
117121 - name : Download test results
118122 uses : actions/download-artifact@v6
119123 with :
@@ -131,7 +135,7 @@ jobs:
131135 path : coverage/atlas-local
132136 - name : Merge coverage reports
133137 run : |
134- npx -y lcov-result-merger@5.0.1 "coverage/*/lcov.info" "coverage/lcov.info"
138+ pnpm dlx lcov-result-merger@5.0.1 "coverage/*/lcov.info" "coverage/lcov.info"
135139 - name : Coveralls GitHub Action
136140 uses : coverallsapp/github-action@v2.3.6
137141 with :
@@ -146,10 +150,6 @@ jobs:
146150 - uses : actions/checkout@v5
147151 with :
148152 persist-credentials : false
149- - uses : actions/setup-node@v6
150- with :
151- node-version-file : package.json
152- cache : " npm"
153153 - name : Install dependencies
154154 run : |
155155 sudo apt-get install -y git-secrets
0 commit comments