diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54d1f9e34..638d7cc2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,9 +20,6 @@ jobs: steps: - uses: actions/checkout@v6 - with: - fetch-tags: true - - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v6 with: @@ -47,7 +44,6 @@ jobs: env: LATEST_TAG: ${{ steps.latest-tag.outputs.LATEST_TAG }} - - name: Create new version id: new-version run: echo "NEW_VERSION=$(pnpm semver $LATEST_TAG -i minor)" >> $GITHUB_OUTPUT diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 065c82710..0b146f718 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ on: permissions: id-token: write # Required for OIDC - contents: read + contents: write jobs: pre-release: @@ -72,9 +72,6 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - - name: Set Auth Token - run: npm config set //registry.npmjs.org/:_authToken ${{ inputs.NPM_TOKEN || secrets.NPM_TOKEN }} - - name: Set new version run: pnpm --filter ${{ matrix.package }} version --new-version ${{ needs.pre-release.outputs.VERSION }} --no-git-tag-version @@ -109,9 +106,6 @@ jobs: - name: Install dependencies run: pnpm install --frozen-lockfile - - name: Set Auth Token - run: npm config set //registry.npmjs.org/:_authToken ${{ secrets.NPM_TOKEN }} - - name: Set new version run: pnpm --filter lucide-static version --new-version ${{ needs.pre-release.outputs.VERSION }} --no-git-tag-version @@ -157,7 +151,9 @@ jobs: if: github.repository == 'lucide-icons/lucide' runs-on: ubuntu-latest needs: [pre-release, lucide-font] - + permissions: + id-token: write # Required for OIDC + contents: write steps: - uses: actions/checkout@v6 - uses: actions/download-artifact@v4