This repository was archived by the owner on Dec 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : Release
4+
5+ on :
6+ push :
7+ tags :
8+ - " v*"
9+ workflow_dispatch :
10+ inputs :
11+ specific_tag :
12+ description : ' Specific tag to release'
13+ required : false
14+ default : ' '
15+ jobs :
16+ release :
17+ runs-on : ubuntu-latest
18+ permissions :
19+ contents : write
20+ id-token : write
21+ steps :
22+ - uses : actions/checkout@v4
23+ with :
24+ fetch-depth : 0
25+
26+ - name : Install pnpm
27+ uses : pnpm/action-setup@v4
28+ with :
29+ run_install : true
30+
31+ # after pnpm
32+ - name : Use Node.js LTS
33+ uses : actions/setup-node@v4
34+ with :
35+ node-version : ' >=22.6.0'
36+ registry-url : https://registry.npmjs.org/
37+ cache : pnpm
38+
39+ - name : Build
40+ run : pnpm build
41+
42+ - name : Release current monorepo
43+ uses : galacean/publish@main
44+ with :
45+ specific_tag : ${{ inputs.specific_tag }}
46+ publish : false
47+ packages : |
48+ ./
49+ env :
50+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
51+ NPM_CONFIG_PROVENANCE : true
52+ OASISBE_UPLOAD_URL : https://oasisbe.alipay.com/api/file/no-auth/crypto/upload
53+ OASISBE_REQUEST_HEADER : ${{secrets.OASISBE_REQUEST_HEADER}}
54+ OASISBE_PUBLIC_KEY : ${{secrets.OASISBE_PUBLIC_KEY}}
Original file line number Diff line number Diff line change 6161 "lint" : " eslint src --fix --ext .ts,.tsx" ,
6262 "b:types" : " tsc --emitDeclarationOnly"
6363 },
64- "types" : " types/index.d.ts"
64+ "types" : " types/index.d.ts" ,
65+ "packageManager" : " pnpm@9.3.0"
6566}
You can’t perform that action at this time.
0 commit comments