From 3b63c139ae9f00d64663d3fdeaf9a54205f634cc Mon Sep 17 00:00:00 2001 From: Eric Fennis Date: Tue, 24 Mar 2026 09:14:50 +0100 Subject: [PATCH] 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> --- .github/workflows/release.yml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 62b7612dc..f12b474fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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