File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 7373 - run : echo "${{ env.IMPORT_TEXT }} '${{ env.NPM_MODULE_NAME }}'" > index.js
7474 - run : npm install ./artifact
7575 - run : npx esbuild --bundle index.js
76+ TypeScript :
77+ runs-on : ubuntu-latest
78+ needs : Pack
79+ steps :
80+ - uses : actions/download-artifact@v3
81+ - run : npm install ./artifact
82+ - run : echo "${{ env.IMPORT_TEXT }} '${{ env.NPM_MODULE_NAME }}'" > index.ts
83+ - run : tsc index.ts
84+ - run : cat index.js
7685 Node :
7786 runs-on : ubuntu-latest
7887 needs : Pack
Original file line number Diff line number Diff line change 3030 "demo:build" : " vite build demo --config demo/vite.config.js" ,
3131 "demo:test" : " svelte-check" ,
3232 "demo:watch" : " vite serve demo --config demo/vite.config.js" ,
33- "prepack" : " vite build" ,
33+ "prepack" : " npm run build" ,
3434 "test" : " run-p build ava xo" ,
3535 "watch" : " run-p watch:typescript demo:watch # vite watch doesn’t generate the lib, so just use the demo" ,
3636 "watch:typescript" : " tsc --watch --noEmit" ,
You can’t perform that action at this time.
0 commit comments