File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed
Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Publish Monorepo to npmjs.com
33on :
44 push :
55 tags :
6- - ' v*.*.*'
6+ - " v*.*.*"
77jobs :
88 publish :
99 runs-on : ubuntu-latest
@@ -15,19 +15,22 @@ jobs:
1515 - uses : pnpm/action-setup@v4
1616 with :
1717 run_install : false
18-
18+
1919 - uses : actions/setup-node@v4
2020 with :
21- node-version-file : ' .nvmrc'
21+ node-version-file : " .nvmrc"
2222 cache : pnpm
2323 registry-url : " https://registry.npmjs.org/"
2424
2525 - name : Install Dependencies
2626 run : pnpm ci:install
2727
28+ - name : Run build
29+ run : pnpm build
30+
2831 - name : Check typings in All Packages
2932 run : pnpm check
30-
33+
3134 # - name: Run Tests in All Packages
3235 # run: pnpm test
3336
Original file line number Diff line number Diff line change 2626 " !dist/**/*.test.*"
2727 ],
2828 "scripts" : {
29- "build" : " vite build && npm run package" ,
29+ "build" : " run-s vite: build package" ,
3030 "check" : " svelte-kit sync && svelte-check --tsconfig ./tsconfig.json" ,
3131 "check:watch" : " svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch" ,
3232 "clean" : " run-s vite:clean sk:clean sk:sync" ,
4141 "preview" : " vite preview" ,
4242 "sk:clean" : " rimraf .svelte-kit" ,
4343 "sk:sync" : " svelte-kit sync" ,
44+ "vite:build" : " vite build" ,
4445 "vite:clean" : " rimraf node_modules/.vite vite.config.ts.*"
4546 },
4647 "types" : " ./dist/index.d.ts" ,
Original file line number Diff line number Diff line change 2626 " !dist/**/*.test.*"
2727 ],
2828 "scripts" : {
29- "build" : " vite build && npm run package" ,
29+ "build" : " run-s vite: build package" ,
3030 "check" : " svelte-kit sync && svelte-check --tsconfig ./tsconfig.json" ,
3131 "check:watch" : " svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch" ,
3232 "dev" : " vite dev" ,
3939 "preview" : " vite preview" ,
4040 "prepublishOnly" : " pnpm build" ,
4141 "publishd" : " pnpm publish --dry-run --no-git-checks" ,
42- "test" : " vitest"
42+ "test" : " vitest" ,
43+ "vite:build" : " vite build"
4344 },
4445 "types" : " ./dist/index.d.ts" ,
4546 "peerDependencies" : {
You can’t perform that action at this time.
0 commit comments