File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,10 +10,20 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v3
13+ - uses : pnpm/action-setup@v2
14+ with :
15+ version : 7
16+
1317 - uses : actions/setup-node@v3
1418 with :
15- node-version : 18
19+ node-version : " 18"
20+ cache : " pnpm"
21+ - run : pnpm i
22+ - run : pnpm run lint
23+ - run : pnpm build
24+
1625 - run : npx semantic-release
1726 env :
1827 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1928 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
29+ HUSKY : 0
Original file line number Diff line number Diff line change 5252 "build" : " run-s build:*" ,
5353 "build:client" : " esbuild lib/index.tsx --bundle --outfile=dist/index.browser.jsx --jsx=preserve --external:solid-js --format=esm && tsc" ,
5454 "build:server" : " esbuild lib/index.tsx --bundle --platform=node --outfile=dist/index.jsx --jsx=preserve --external:solid-js --format=esm && tsc" ,
55- "prepare" : " is-ci || husky install"
55+ "prepare" : " husky install"
5656 },
5757 "commitlint" : {
5858 "extends" : [
9999 "eslint-plugin-markdown" : " ^3.0.0" ,
100100 "eslint-plugin-solid" : " ^0.11.0" ,
101101 "husky" : " ^8.0.3" ,
102- "is-ci" : " ^3.0.1" ,
103102 "lint-staged" : " ^13.2.0" ,
104103 "npm-run-all" : " ^4.1.5" ,
105104 "prettier" : " ^2.8.7" ,
You can’t perform that action at this time.
0 commit comments