From b37ddc430c7179dd6e970ad402316d4997d82c91 Mon Sep 17 00:00:00 2001 From: outslept <135520429+outslept@users.noreply.github.com> Date: Mon, 8 Sep 2025 19:43:25 +0300 Subject: [PATCH] Enabled trusted publishinc (OIDC) --- .github/workflows/publish.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 6dab32a..27d1cc6 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -7,6 +7,7 @@ on: permissions: contents: read + id-token: write jobs: test: @@ -28,6 +29,5 @@ jobs: with: node-version: 22.x registry-url: https://registry.npmjs.org/ - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.npm_token}} + - run: npm install -g npm@latest + - run: npm publish \ No newline at end of file