From 3fc90467a376dd97f9cae992771504c9bc417d83 Mon Sep 17 00:00:00 2001 From: Karsa Date: Tue, 24 Mar 2026 16:18:39 +0100 Subject: [PATCH] feat(pipeline): re-revert from the working-directory solution & set default tag as latest --- .github/workflows/release.yml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 43e65404c..f108ea7cc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ on: type: string tag: description: NPM tag - default: 'next' # set to latest after v1 release + default: 'latest' type: string permissions: @@ -56,11 +56,11 @@ jobs: 'lucide-react-native', 'lucide-preact', 'lucide-solid', - 'angular', - 'astro', - 'icons', - 'svelte', - 'vue', + '@lucide/angular', + '@lucide/astro', + '@lucide/icons', + '@lucide/svelte', + '@lucide/vue', ] steps: - uses: actions/checkout@v6 @@ -74,20 +74,16 @@ jobs: run: pnpm install --frozen-lockfile - name: Set new version - run: pnpm version --new-version ${{ needs.prepare.outputs.VERSION }} --no-git-tag-version - working-directory: packages/${{ matrix.package }} + run: pnpm --fail-if-no-match --filter ${{ matrix.package }} version --new-version ${{ needs.prepare.outputs.VERSION }} --no-git-tag-version - name: Build - run: pnpm build - working-directory: packages/${{ matrix.package }} + run: pnpm --filter ${{ matrix.package }} build - name: Test - run: pnpm test - working-directory: packages/${{ matrix.package }} + run: pnpm --filter ${{ matrix.package }} test - name: Publish - run: pnpm publish --access public --no-git-checks --ignore-scripts --tag ${{ inputs.tag }} - working-directory: packages/${{ matrix.package }} + run: pnpm --filter ${{ matrix.package }} publish --access public --no-git-checks --ignore-scripts --tag ${{ inputs.tag }} env: NPM_CONFIG_PROVENANCE: true