From 2c0f178a581177e4b123fc48e56331cb6125103a Mon Sep 17 00:00:00 2001 From: Kevin Turcios <106575910+KRRT7@users.noreply.github.com> Date: Thu, 23 Apr 2026 04:27:30 -0500 Subject: [PATCH] Delete vscode-extension-build.yml (consolidated into ci.yaml) --- .github/workflows/vscode-extension-build.yml | 66 -------------------- 1 file changed, 66 deletions(-) delete mode 100644 .github/workflows/vscode-extension-build.yml diff --git a/.github/workflows/vscode-extension-build.yml b/.github/workflows/vscode-extension-build.yml deleted file mode 100644 index edf0a6fd6..000000000 --- a/.github/workflows/vscode-extension-build.yml +++ /dev/null @@ -1,66 +0,0 @@ -name: Build VSCode Extension - -on: - pull_request: - paths: - - 'js/VSC-Extension/**' - workflow_dispatch: - -jobs: - check-min-version: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v6 - - - name: Extract MIN_CODEFLASH_VERSION from constants file - id: extract-version - run: | - FILE="js/VSC-Extension/src/constants/cf_min_version.ts" - VERSION=$(grep -oP 'MIN_CODEFLASH_VERSION\s*=\s*"\K[^"]+' $FILE) - - if [ -z "$VERSION" ]; then - echo "❌ Could not find MIN_CODEFLASH_VERSION in $FILE" - exit 1 - fi - - echo "✅ Found MIN_CODEFLASH_VERSION=$VERSION" - echo "version=$VERSION" >> $GITHUB_OUTPUT - - - name: Check version exists on PyPI - run: | - # Check if this version exists on PyPI - VERSION="${{ steps.extract-version.outputs.version }}" - if pip index versions codeflash | grep -q "Available versions: .*$VERSION"; then - echo "✅ Version $VERSION exists on PyPI." - else - echo "❌ Version $VERSION not found on PyPI" - exit 1 - fi - build: - runs-on: ubuntu-latest - needs: check-min-version - steps: - - name: Checkout repository - uses: actions/checkout@v6 - - - name: Use Node.js v20 - uses: actions/setup-node@v6 - with: - node-version: 20 - cache: "npm" - cache-dependency-path: js/VSC-Extension/package-lock.json - - - name: Install dependencies - working-directory: js/VSC-Extension - run: npm ci - - - name: Package VSCode Extension - working-directory: js/VSC-Extension - run: npm run vsce - - - name: Upload VSIX artifact - uses: actions/upload-artifact@v7 - with: - name: vscode-extension - path: js/VSC-Extension/*.vsix