File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828
2929 - name : Run NPM
3030 run : |
31- npm run build && npm run package
32- NODE_OPTIONS=--experimental-vm-modules jest __tests__/main.test.ts --reporters=default --reporters=jest-junit
31+ npm run all
3332 env :
3433 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3534
Original file line number Diff line number Diff line change 1313 "lint" : " eslint src/**/*.ts" ,
1414 "package" : " ncc build --source-map --license licenses.txt" ,
1515 "test" : " NODE_OPTIONS=--experimental-vm-modules jest --reporters=default --reporters=jest-junit" ,
16+ "test-main" : " NODE_OPTIONS=--experimental-vm-modules jest __tests__/main.test.ts --reporters=default --reporters=jest-junit" ,
1617 "test-github" : " NODE_OPTIONS=--experimental-vm-modules jest __tests__/*.test.ts --reporters=default --reporters=jest-junit" ,
1718 "test-gitea" : " NODE_OPTIONS=--experimental-vm-modules jest __tests__/gitea/*.test.ts --reporters=default --reporters=jest-junit" ,
1819 "test-demo" : " NODE_OPTIONS=--experimental-vm-modules jest __tests__/demo/*.test.ts --reporters=default --reporters=jest-junit" ,
1920 "test-offline" : " NODE_OPTIONS=--experimental-vm-modules jest __tests__/offline/*.test.ts --reporters=default --reporters=jest-junit" ,
20- "all" : " npm run build && npm run format && npm run lint && npm run package && npm run test-github "
21+ "all" : " npm run build && npm run format && npm run lint && npm run package && npm run test-main "
2122 },
2223 "repository" : {
2324 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments