mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-17 14:28:25 +00:00
feat(pipeline): add angular debug to release workflow
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user