File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- name : Lint
2
+ name : Checks
3
3
on :
4
4
push :
5
5
branches :
6
6
- main
7
7
pull_request :
8
+ pull_request_target :
9
+ branches :
10
+ - main
8
11
9
12
permissions : {}
10
13
35
38
- name : Install dependencies
36
39
run : npm ci
37
40
- run : npm run generate
41
+
42
+ check-dep :
43
+ name : Check dependencies
44
+ runs-on : ubuntu-latest
45
+ steps :
46
+ - uses : GitHubSecurityLab/actions-permissions/monitor@v1
47
+ - uses : actions/checkout@v4
48
+ - uses : actions/setup-node@v4
49
+ with :
50
+ node-version-file : package.json
51
+ cache : " npm"
52
+ - name : Install dependencies & build
53
+ run : npm ci
54
+ - name : Remove dev dependencies
55
+ run : |
56
+ rm -rf node_modules
57
+ npm pkg set scripts.prepare="exit 0"
58
+ npm install --omit=dev
59
+ - run : npx -y @modelcontextprotocol/inspector --cli --method tools/list -- node dist/index.js --connectionString "mongodb://localhost"
You can’t perform that action at this time.
0 commit comments