feat(pipeline): add angular debug to release workflow

This commit is contained in:
Karsa
2026-03-24 17:12:55 +01:00
parent acb947a770
commit 5e6186ff70

View File

@@ -51,9 +51,7 @@ jobs:
VERSION_REF: ${{ inputs.version || github.event.inputs.version || github.ref }}
release:
# revert to:
# if: github.repository == 'lucide-icons/lucide'
if: github.repository == 'lucide-icons/lucide' && (github.event_name != 'workflow_dispatch' || matrix.package == '@lucide/angular')
if: github.repository == 'lucide-icons/lucide'
runs-on: ubuntu-latest
needs: prepare
permissions:
@@ -77,19 +75,25 @@ jobs:
]
steps:
- uses: actions/checkout@v6
if: github.event_name != 'workflow_dispatch' || matrix.package == '@lucide/angular'
- uses: pnpm/action-setup@v4
if: github.event_name != 'workflow_dispatch' || matrix.package == '@lucide/angular'
- uses: actions/setup-node@v6
if: github.event_name != 'workflow_dispatch' || matrix.package == '@lucide/angular'
with:
cache: 'pnpm'
node-version-file: 'package.json'
- name: Install dependencies
if: github.event_name != 'workflow_dispatch' || matrix.package == '@lucide/angular'
run: pnpm install --frozen-lockfile
- name: Set new version
if: github.event_name != 'workflow_dispatch' || matrix.package == '@lucide/angular'
run: pnpm --fail-if-no-match --filter ${{ matrix.package }} version --new-version ${{ needs.prepare.outputs.VERSION }} --no-git-tag-version
- name: Build
if: github.event_name != 'workflow_dispatch' || matrix.package == '@lucide/angular'
run: pnpm --filter ${{ matrix.package }} build
- name: Debug
@@ -103,9 +107,11 @@ jobs:
cat packages/angular/dist/package.json || true
- name: Test
if: github.event_name != 'workflow_dispatch' || matrix.package == '@lucide/angular'
run: pnpm --filter ${{ matrix.package }} test
- name: Publish
if: github.event_name != 'workflow_dispatch' || matrix.package == '@lucide/angular'
run: pnpm --filter ${{ matrix.package }} publish --access public --no-git-checks --ignore-scripts --tag ${{ inputs.tag }}
env:
NPM_CONFIG_PROVENANCE: true