Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions .github/workflows/publish-fix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: Publish Fix

on:
workflow_dispatch:

jobs:
publish:
runs-on:
group: databricks-protected-runner-group
labels: linux-ubuntu-latest

environment: release

permissions:
contents: read
id-token: write # Required for npm OIDC publishing with provenance

steps:
- uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
registry-url: "https://registry.npmjs.org"

- name: Update npm
run: npm install -g npm@latest

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build packages
run: pnpm build

- name: Prepare appkit for publishing
run: pnpm --filter=@databricks/appkit dist

- name: Prepare appkit-ui for publishing
run: pnpm --filter=@databricks/appkit-ui dist

- name: Publish appkit
run: npm publish packages/appkit/tmp --access public --provenance

- name: Publish appkit-ui
run: npm publish packages/appkit-ui/tmp --access public --provenance

4 changes: 4 additions & 0 deletions packages/appkit-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
"name": "@databricks/appkit-ui",
"type": "module",
"version": "0.1.0",
"repository": {
"type": "git",
"url": "git+https://github.com/databricks/appkit.git"
},
"packageManager": "pnpm@10.21.0",
"files": [
"dist",
Expand Down
4 changes: 4 additions & 0 deletions packages/appkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"packageManager": "pnpm@10.21.0",
"repository": {
"type": "git",
"url": "git+https://github.com/databricks/appkit.git"
},
"files": [
"dist",
"bin",
Expand Down