ci(ci.yml): Fix release flow (#4193)

* ci(ci.yml): Fix release flow

* format code

* Update .github/workflows/release.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Eric Fennis
2026-03-24 09:14:50 +01:00
committed by GitHub
co-authored by Copilot
parent ffff78a02f
commit 3b63c139ae
+15 -13
View File
@@ -49,20 +49,18 @@ jobs:
strategy:
fail-fast: false
matrix:
package: [
package:
[
'lucide',
'lucide-react',
'lucide-react-native',
# 'lucide-vue-next',
# 'lucide-angular',
'lucide-preact',
'lucide-solid',
'lucide-svelte',
'@lucide/angular', # <- If published with next tag, latest tag need to be set: npm dist-tag add @lucide/angular@{version} latest
'@lucide/astro',
'@lucide/svelte',
'@lucide/icons',
'@lucide/vue', # <- If published with next tag, latest tag need to be set: npm dist-tag add @lucide/vue@{version} latest
'angular',
'astro',
'svelte',
'icons',
'vue',
]
steps:
- uses: actions/checkout@v6
@@ -76,16 +74,20 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Set new version
run: pnpm --filter ${{ matrix.package }} version --new-version ${{ needs.prepare.outputs.VERSION }} --no-git-tag-version
run: pnpm version --new-version ${{ needs.prepare.outputs.VERSION }} --no-git-tag-version
working-directory: packages/${{ matrix.package }}
- name: Build
run: pnpm --filter ${{ matrix.package }} build
run: pnpm build
working-directory: packages/${{ matrix.package }}
- name: Test
run: pnpm --filter ${{ matrix.package }} test
run: pnpm test
working-directory: packages/${{ matrix.package }}
- name: Publish
run: pnpm --filter ${{ matrix.package }} publish --access public --no-git-checks --ignore-scripts --tag ${{ inputs.tag }} --access public
run: pnpm publish --access public --no-git-checks --ignore-scripts --tag ${{ inputs.tag }}
working-directory: packages/${{ matrix.package }}
env:
NPM_CONFIG_PROVENANCE: true