File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1- name : Check code format
1+ name : Check code before submitting
22
33permissions : read-all
44
1010
1111jobs :
1212 check-format :
13- runs-on : ubuntu-latest # You can also use 'macos-latest' or 'windows-latest'
13+ runs-on : ubuntu-latest
1414
1515 steps :
1616 - name : Check out repository
2929
3030 - name : Run format check
3131 run : npm run check-format
32+
3233 check-docs :
33- runs-on : ubuntu-latest # You can also use 'macos-latest' or 'windows-latest'
34+ runs-on : ubuntu-latest
3435
3536 steps :
3637 - name : Check out repository
4950
5051 - name : Generate documents
5152 run : npm run generate-docs
53+
5254 - name : Check if autogenerated docs differ
5355 run : |
5456 diff_file=$(mktemp doc_diff_XXXXXX)
Original file line number Diff line number Diff line change 1111 "build" : " tsc && node --experimental-strip-types scripts/post-build.ts" ,
1212 "format" : " eslint --cache --fix . ;prettier --write --cache ." ,
1313 "check-format" : " eslint --cache .; prettier --check --cache .;" ,
14- "generate-docs" : " node --experimental-strip-types scripts/generate-docs.ts" ,
14+ "generate-docs" : " npm run build && node --experimental-strip-types scripts/generate-docs.ts" ,
1515 "start" : " npm run build && node build/src/index.js" ,
1616 "start-debug" : " DEBUG=mcp:* DEBUG_COLORS=false npm run build && node build/src/index.js" ,
1717 "test" : " npm run build && npx puppeteer browsers install chrome@latest && PUPPETEER_CHROME_VERSION=latest node --test-force-exit --test 'build/tests/**/*.test.js'" ,
You can’t perform that action at this time.
0 commit comments