File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
.github/actions/install-and-cache-node-deps Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1414 restore-keys : node-modules-${{ runner.os }}-${{ runner.arch }}
1515 - name : Install Node dependencies
1616 if : steps.cache-node-modules.outputs.cache-hit != 'true'
17- run : npm ${{ github.ref == 'refs/heads/master' && 'ci' || 'install' }} --ignore-scripts && npm run prepare --if-present
17+ run : npm ${{ github.ref == 'refs/heads/master' && 'ci' || 'install' }} --ignore-scripts && npm run prepare:patch
1818 shell : bash
1919 - name : Save Node dependencies cache
2020 if : steps.cache-node-modules.outputs.cache-hit != 'true' && github.ref == 'refs/heads/master'
Original file line number Diff line number Diff line change 6969 "lint:rust" : " cd rust && cargo fmt && cargo clippy --fix --allow-dirty" ,
7070 "lint:rust:nofix" : " cd rust && cargo fmt --check && cargo clippy" ,
7171 "perf" : " npm run build:bootstrap:cjs && node --expose-gc scripts/perf-report/index.js" ,
72- "prepare" : " husky && patch-package && node scripts/check-release.js || npm run build:prepare" ,
72+ "prepare" : " husky && npm run prepare:patch && node scripts/check-release.js || npm run build:prepare" ,
73+ "prepare:patch" : " patch-package" ,
7374 "prepublishOnly" : " node scripts/check-release.js && node scripts/prepublish.js" ,
7475 "postpublish" : " node scripts/postpublish.js" ,
7576 "prepublish:napi" : " napi prepublish --no-gh-release" ,
8687 "test:package" : " node scripts/test-package.js" ,
8788 "test:options" : " node scripts/test-options.js" ,
8889 "test:only" : " mocha test/test.js" ,
89- "test:typescript" : " echo skipped " ,
90+ "test:typescript" : " shx rm -rf test/typescript/dist && shx cp -r dist test/typescript/ && tsc --noEmit -p test/typescript && tsc --noEmit -p . && tsc --noEmit -p scripts && vue-tsc --noEmit -p docs " ,
9091 "test:browser" : " mocha test/browser/index.js" ,
9192 "watch" : " rollup --config rollup.config.ts --configPlugin typescript --watch"
9293 },
You can’t perform that action at this time.
0 commit comments