File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,13 +35,20 @@ jobs:
3535 node-version : ${{ matrix.node }}
3636
3737 - name : Install dependencies
38+ shell : bash
3839 run : npm ci
3940
41+ - name : Build
42+ shell : bash
43+ run : npm run build && ls -lsah build
44+
4045 - name : Disable AppArmor
4146 if : ${{ matrix.os == 'ubuntu-latest' }}
47+ shell : bash
4248 run : echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
4349
4450 - name : Run tests
51+ shell : bash
4552 run : npm run test
4653
4754 # Gating job for branch protection.
Original file line number Diff line number Diff line change 1616 "docs:generate" : " node --experimental-strip-types scripts/generate-docs.ts" ,
1717 "start" : " npm run build && node build/src/index.js" ,
1818 "start-debug" : " DEBUG=mcp:* DEBUG_COLORS=false npm run build && node build/src/index.js" ,
19- "test" : " npm run build && node --require ./build/tests/setup.js --test-reporter spec --test-force-exit --test ' build/tests/**/*.test.js' " ,
20- "test:only" : " npm run build && node --require ./build/tests/setup.js --test-reporter spec --test-force-exit --test --test-only ' build/tests/**/*.test.js' " ,
21- "test:only:no-build" : " node --require ./build/tests/setup.js --test-reporter spec --test-force-exit --test --test-only ' build/tests/**/*.test.js' " ,
22- "test:update-snapshots" : " npm run build && node --require ./build/tests/setup.js --test-force-exit --test --test-update-snapshots ' build/tests/**/*.test.js' " ,
19+ "test" : " npm run build && node --require ./build/tests/setup.js --test-reporter spec --test-force-exit --test \" build/tests/**/*.test.js\" " ,
20+ "test:only" : " npm run build && node --require ./build/tests/setup.js --test-reporter spec --test-force-exit --test --test-only \" build/tests/**/*.test.js\" " ,
21+ "test:only:no-build" : " node --require ./build/tests/setup.js --test-reporter spec --test-force-exit --test --test-only \" build/tests/**/*.test.js\" " ,
22+ "test:update-snapshots" : " npm run build && node --require ./build/tests/setup.js --test-force-exit --test --test-update-snapshots \" build/tests/**/*.test.js\" " ,
2323 "prepare" : " node --experimental-strip-types scripts/prepare.ts"
2424 },
2525 "files" : [
You can’t perform that action at this time.
0 commit comments