File tree Expand file tree Collapse file tree 3 files changed +59
-0
lines changed
Expand file tree Collapse file tree 3 files changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Publish Fix
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ publish :
8+ runs-on :
9+ group : databricks-protected-runner-group
10+ labels : linux-ubuntu-latest
11+
12+ environment : release
13+
14+ permissions :
15+ contents : read
16+ id-token : write # Required for npm OIDC publishing with provenance
17+
18+ steps :
19+ - uses : actions/checkout@v4
20+
21+ - name : Install pnpm
22+ uses : pnpm/action-setup@v4
23+
24+ - name : Setup Node.js
25+ uses : actions/setup-node@v4
26+ with :
27+ node-version : " 20"
28+ cache : " pnpm"
29+ registry-url : " https://registry.npmjs.org"
30+
31+ - name : Update npm
32+ run : npm install -g npm@latest
33+
34+ - name : Install dependencies
35+ run : pnpm install --frozen-lockfile
36+
37+ - name : Build packages
38+ run : pnpm build
39+
40+ - name : Prepare appkit for publishing
41+ run : pnpm --filter=@databricks/appkit dist
42+
43+ - name : Prepare appkit-ui for publishing
44+ run : pnpm --filter=@databricks/appkit-ui dist
45+
46+ - name : Publish appkit
47+ run : npm publish packages/appkit/tmp --access public --provenance
48+
49+ - name : Publish appkit-ui
50+ run : npm publish packages/appkit-ui/tmp --access public --provenance
51+
Original file line number Diff line number Diff line change 22 "name" : " @databricks/appkit-ui" ,
33 "type" : " module" ,
44 "version" : " 0.1.0" ,
5+ "repository" : {
6+ "type" : " git" ,
7+ "url" : " git+https://github.com/databricks/appkit.git"
8+ },
59 "packageManager" :
" [email protected] " ,
610 "files" : [
711 " dist" ,
Original file line number Diff line number Diff line change 55 "main" : " ./dist/index.js" ,
66 "types" : " ./dist/index.d.ts" ,
77 "packageManager" :
" [email protected] " ,
8+ "repository" : {
9+ "type" : " git" ,
10+ "url" : " git+https://github.com/databricks/appkit.git"
11+ },
812 "files" : [
913 " dist" ,
1014 " bin" ,
You can’t perform that action at this time.
0 commit comments