File tree Expand file tree Collapse file tree 4 files changed +23
-47
lines changed
Expand file tree Collapse file tree 4 files changed +23
-47
lines changed Original file line number Diff line number Diff line change 11name : Test
22on :
33 push :
4- pull_request :
54
65jobs :
76 lint :
3534 - run : pnpm install --frozen-lockfile
3635 - run : pnpm build
3736 - run : pnpm test
37+ release :
38+ runs-on : ubuntu-latest
39+ if : startsWith(github.ref, 'refs/tags/')
40+ needs :
41+ - test
42+ steps :
43+ - uses : actions/checkout@v3
44+ - name : Enable Corepack
45+ run : corepack enable
46+ - uses : actions/setup-node@v3
47+ with :
48+ node-version : 20
49+ cache : pnpm
50+ - run : pnpm install --frozen-lockfile
51+ - run : pnpm build
52+ - name : Pack tarball
53+ run : mv "$(pnpm pack)" tsc-multi.tgz
54+ - name : Release
55+ uses : softprops/action-gh-release@v2
56+ with :
57+ files : tsc-multi.tgz
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
2- "name" : " @stainless-api/ tsc-multi" ,
3- "version" : " 1.1.1 " ,
2+ "name" : " tsc-multi" ,
3+ "version" : " 1.1.0 " ,
44 "description" : " Compile multiple TypeScript projects into multiple targets." ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments