Skip to content

Commit 4ff8632

Browse files
authored
Merge branch 'main' into studio/infinity
2 parents 6887b3f + 9b738c1 commit 4ff8632

34 files changed

+2821
-1379
lines changed

.github/workflows/ci.yml

+35-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
create-release:
12-
if: github.repository == 'lucide-icons/lucide'
12+
if: github.repository == 'lucide-icons/lucide' && ${{ !startsWith(github.event.head_commit.message, 'fix(icons):') }}
1313
runs-on: ubuntu-latest
1414
outputs:
1515
VERSION: ${{ steps.new-version.outputs.NEW_VERSION }}
@@ -60,8 +60,40 @@ jobs:
6060
uses: softprops/action-gh-release@v1
6161
with:
6262
tag_name: ${{ steps.new-version.outputs.NEW_VERSION }}
63-
name: New icons ${{ steps.new-version.outputs.NEW_VERSION }}
64-
body: ${{ steps.change-log.outputs.CHANGE_LOG }}
63+
name: Version ${{ steps.new-version.outputs.NEW_VERSION }}
64+
generate_release_notes: true
65+
66+
test-semantic-release:
67+
if: github.repository == 'lucide-icons/lucide'
68+
runs-on: ubuntu-latest
69+
steps:
70+
- uses: actions/checkout@v4
71+
72+
- name: Semantic Release
73+
id: semantic
74+
uses: cycjimmy/semantic-release-action@v4
75+
with:
76+
tag_format: ${version}
77+
branches: |
78+
['new-release-workflow']
79+
extends: |
80+
semantic-release-monorepo
81+
extra_plugins: |
82+
@semantic-release/github
83+
@semantic-release/git
84+
@semantic-release/release-notes-generator
85+
conventional-changelog-conventionalcommits
86+
87+
env:
88+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
89+
90+
- name: Log output
91+
if: steps.semantic.outputs.new_release_published == 'true'
92+
run: |
93+
echo ${{ steps.semantic.outputs.new_release_version }}
94+
echo ${{ steps.semantic.outputs.new_release_major_version }}
95+
echo ${{ steps.semantic.outputs.new_release_minor_version }}
96+
echo ${{ steps.semantic.outputs.new_release_patch_version }}
6597
6698
start-release:
6799
if: github.repository == 'lucide-icons/lucide'

.github/workflows/close-issue-with-banned-phrases.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Check for blocked phrases in issue title
1717
run: |
1818
ISSUE_TITLE=$(jq -r '.issue.title' "$GITHUB_EVENT_PATH")
19-
BLOCKED_PHRASES=("twitter" "whatsapp" "logo" "google" "tiktok" "facebook" "slack" "discord" "bluesky")
19+
BLOCKED_PHRASES=("twitter" "whatsapp" "logo" "google" "tiktok" "facebook" "slack" "discord" "bluesky" "spotify" "behance")
2020
2121
# Check title and body for blocked phrases
2222
for PHRASE in "${BLOCKED_PHRASES[@]}"

.github/workflows/comment-icon-preview.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,21 @@ jobs:
3838
run: unzip pr_number.zip
3939

4040
- name: 'Get PR number'
41-
run: cat "pr_number"
41+
run: echo "number=$(cat NR)" >> $GITHUB_OUTPUT
4242
id: pr-number
4343

4444
- name: Find Comment
4545
uses: peter-evans/find-comment@v2
4646
id: pr-comment
4747
with:
48-
issue-number: ${{ steps.pr-number.outputs.stdout }}
48+
issue-number: ${{ steps.pr-number.outputs.number }}
4949
comment-author: 'github-actions[bot]'
5050
body-includes: Added or changed icons
5151

5252
- name: Create or update comment
5353
uses: peter-evans/create-or-update-comment@v3
5454
with:
5555
comment-id: ${{ steps.pr-comment.outputs.comment-id }}
56-
issue-number: ${{ steps.pr-number.outputs.stdout }}
57-
body-path: pr_number/comment-markup.md
56+
issue-number: ${{ steps.pr-number.outputs.number }}
57+
body-path: comment-markup.md
5858
edit-mode: replace

.github/workflows/lucide-svelte-5.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Lucide Svelte 5 checks
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- packages/svelte/**
7+
- packages/shared/**
8+
- tools/build-icons/**
9+
- tools/rollup-plugins/**
10+
- pnpm-lock.yaml
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: pnpm/action-setup@v4
18+
- uses: actions/setup-node@v4
19+
with:
20+
cache: 'pnpm'
21+
22+
- name: Install dependencies
23+
run: pnpm install --frozen-lockfile
24+
25+
- name: Build
26+
run: pnpm --filter @lucide/svelte build
27+
28+
test:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v4
32+
- uses: pnpm/action-setup@v4
33+
- uses: actions/setup-node@v4
34+
with:
35+
cache: 'pnpm'
36+
37+
- name: Install dependencies
38+
run: pnpm install --frozen-lockfile
39+
40+
- name: Test
41+
run: pnpm --filter @lucide/svelte test

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
'lucide-preact',
5353
'lucide-solid',
5454
'lucide-svelte',
55+
'@lucide/svelte',
5556
]
5657
steps:
5758
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)