mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-05-18 10:24:49 +02:00
feat(pipeline): add angular debug to release workflow
This commit is contained in:
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user