From b839df5a10c4a0a55a51c55de99a2721d9789fe9 Mon Sep 17 00:00:00 2001 From: Wes Date: Mon, 2 Sep 2024 10:03:22 -0700 Subject: [PATCH] fix: publishing vscode extension (#2565) Fixes #2536 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 2 -- Justfile | 6 +++--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94cd7fe7a..ec125abf5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -154,8 +154,8 @@ jobs: - name: VSCode extension lint working-directory: extensions/vscode run: pnpm run lint - - name: VSCode extension pnpm build - run: just build-extension + - name: VSCode extension pnpm build and package + run: just package-extension plugin: name: Intellij Plugin if: github.event_name != 'pull_request' || github.event.action == 'enqueued' || contains( github.event.pull_request.labels.*.name, 'run-all') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1b18bc122..99ccaf72d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -163,8 +163,6 @@ jobs: git push origin main vscode-release: name: Release VSCode Extension - # Disabled for now as it's broken. - if: false runs-on: ubuntu-latest steps: - name: Checkout code diff --git a/Justfile b/Justfile index c1bcd4642..89fa06eeb 100644 --- a/Justfile +++ b/Justfile @@ -95,11 +95,11 @@ install-extension: build-extension # Build and package the VSCode extension package-extension: build-extension - @cd extensions/vscode && vsce package + @cd extensions/vscode && vsce package --no-dependencies # Publish the VSCode extension publish-extension: package-extension - @cd extensions/vscode && vsce publish + @cd extensions/vscode && vsce publish --no-dependencies build-intellij-plugin: @cd extensions/intellij && gradle buildPlugin @@ -245,4 +245,4 @@ storybook: # Build an FTL Docker image. build-docker name: - docker build --platform linux/amd64 -t ftl0/ftl-{{name}}:"${GITHUB_SHA:-$(git rev-parse HEAD)}" -t ftl0/ftl-{{name}}:latest -f Dockerfile.{{name}} . \ No newline at end of file + docker build --platform linux/amd64 -t ftl0/ftl-{{name}}:"${GITHUB_SHA:-$(git rev-parse HEAD)}" -t ftl0/ftl-{{name}}:latest -f Dockerfile.{{name}} .