From 22ac6dd07322c193169f340c37965f583f02023b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20Hano=C4=9Flu?= Date: Thu, 18 Dec 2025 12:07:18 +0300 Subject: [PATCH 1/2] dev: Corrected panates/gh-setup-node@v1 option --- .github/workflows/test.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0cecb79..d510e7f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,7 +49,6 @@ jobs: with: token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} node-version: ${{ matrix.node }} - github-registry: "false" - name: Apply tests run: | From 43699b263f582a77b4f0545c1858649c60e45e96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20Hano=C4=9Flu?= Date: Thu, 18 Dec 2025 12:57:21 +0300 Subject: [PATCH 2/2] dev: npm trusted publish --- .github/workflows/release.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae007c2..341f9e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,6 +13,10 @@ on: branches: - main +permissions: + id-token: write # Required for OIDC + contents: read + # Only one run at a time concurrency: group: ${{ github.workflow }} @@ -46,7 +50,7 @@ jobs: uses: panates/github-actions/.github/workflows/node-release.yaml@v1 secrets: PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ env.NPM_TOKEN }} release: if: > @@ -67,4 +71,4 @@ jobs: uses: panates/github-actions/.github/workflows/node-release.yaml@v1 secrets: PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ env.NPM_TOKEN }}