Skip to content
This repository was archived by the owner on May 7, 2026. It is now read-only.
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
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ on:
- main

jobs:
publish:
build-and-publish:
runs-on: ubuntu-latest

if: github.ref == 'refs/heads/main'

steps:
- name: Checkout
Expand Down
14 changes: 7 additions & 7 deletions scripts/build-devtools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ rmSync(DIST_PATH, { recursive: true, force: true });
// Ensure dist directory exists
mkdirSync(DIST_PATH, { recursive: true });

// Build plugin
console.log('Building plugin...');
execSync('pnpm build', {
cwd: PLUGIN_PATH,
stdio: 'inherit',
});

// Build devtools ui
console.log('Building devtools...');
execSync('pnpm build', {
Expand All @@ -31,13 +38,6 @@ cpSync(join(UI_PATH, 'lib-types'), join(DIST_PATH, 'ui', 'lib-types'), {
recursive: true,
});

// Build plugin
console.log('Building plugin...');
execSync('pnpm build', {
cwd: PLUGIN_PATH,
stdio: 'inherit',
});

console.log('Copying plugin files to dist...');
cpSync(join(PLUGIN_PATH, 'dist'), join(DIST_PATH, 'plugin'), {
recursive: true,
Expand Down