From 4ea35617885928744f696dd0af19b0023b3f1d3c Mon Sep 17 00:00:00 2001 From: Karsa Date: Tue, 24 Mar 2026 17:09:32 +0100 Subject: [PATCH] feat(pipeline): add angular debug to release workflow --- .github/workflows/release-angular.yml | 2 ++ .github/workflows/release.yml | 37 ++++++++++++++++++++++++--- 2 files changed, 35 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-angular.yml b/.github/workflows/release-angular.yml index 1f9b43f71..1ac7187b5 100644 --- a/.github/workflows/release-angular.yml +++ b/.github/workflows/release-angular.yml @@ -74,6 +74,8 @@ jobs: - name: Debug run: | pwd + node -v + pnpm -v ls -la packages/angular ls -la packages/angular/dist || true cat packages/angular/dist/package.json || true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f108ea7cc..267b06786 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,17 @@ on: default: 'latest' type: string + workflow_dispatch: + inputs: + version: + required: true + description: Version (e.g. 1.2.3 or v1.2.3) + type: string + tag: + description: NPM tag + default: 'next' + type: string + permissions: id-token: write # Required for OIDC contents: write @@ -40,7 +51,9 @@ jobs: VERSION_REF: ${{ inputs.version || github.event.inputs.version || github.ref }} release: - if: github.repository == 'lucide-icons/lucide' + # revert to: + # if: github.repository == 'lucide-icons/lucide' + if: github.repository == 'lucide-icons/lucide' && (github.event_name != 'workflow_dispatch' || matrix.package == '@lucide/angular') runs-on: ubuntu-latest needs: prepare permissions: @@ -88,7 +101,9 @@ jobs: NPM_CONFIG_PROVENANCE: true lucide-static: - if: github.repository == 'lucide-icons/lucide' + # revert to: + # if: github.repository == 'lucide-icons/lucide' + if: github.repository == 'lucide-icons/lucide' && github.event_name != 'workflow_dispatch' runs-on: ubuntu-latest needs: [prepare, lucide-font] permissions: @@ -116,13 +131,25 @@ jobs: - name: Build run: pnpm --filter lucide-static build + - name: Debug + if: matrix.package == '@lucide-angular' + run: | + pwd + node -v + pnpm -v + ls -la packages/angular + ls -la packages/angular/dist || true + cat packages/angular/dist/package.json || true + - name: Publish run: pnpm --filter lucide-static publish --no-git-checks --ignore-scripts --tag ${{ inputs.tag }} --access public env: NPM_CONFIG_PROVENANCE: true lucide-font: - if: github.repository == 'lucide-icons/lucide' + # revert to: + # if: github.repository == 'lucide-icons/lucide' + if: github.repository == 'lucide-icons/lucide' && github.event_name != 'workflow_dispatch' runs-on: ubuntu-latest needs: prepare steps: @@ -148,7 +175,9 @@ jobs: path: lucide-font post-release: - if: github.repository == 'lucide-icons/lucide' && github.event_name != 'workflow_call' + # revert to: + # if: github.repository == 'lucide-icons/lucide' && github.event_name != 'workflow_call' + if: github.repository == 'lucide-icons/lucide' && github.event_name == 'push' runs-on: ubuntu-latest needs: [prepare, lucide-font] permissions: