From 9eace0838bc723cfc3e0ab19a0c2eddea40ce723 Mon Sep 17 00:00:00 2001 From: Julian Lechner Date: Sat, 23 May 2026 19:56:12 +0200 Subject: [PATCH] fix: rollout --- .github/workflows/Build-Rollout.yml | 11 +++-------- package.json | 5 ++++- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/Build-Rollout.yml b/.github/workflows/Build-Rollout.yml index b9948de..14fb917 100644 --- a/.github/workflows/Build-Rollout.yml +++ b/.github/workflows/Build-Rollout.yml @@ -20,12 +20,9 @@ jobs: with: node-version: '24.14.0' registry-url: 'https://registry.npmjs.org' - always-auth: true - - name: Create .npmrc - run: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Ensure trusted publishing capable npm + run: npm install -g npm@^11.5.1 - name: Install Dependencies run: npm ci @@ -47,9 +44,7 @@ jobs: run: npm run build - name: Publish Library - run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + run: npm publish --access public - name: Create GitHub release env: diff --git a/package.json b/package.json index b877b1e..8315eda 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,10 @@ "build": "del-cli dist && tsup && tsc -p tsconfig.build.json && node scripts/copy-dts.cjs", "prepare": "husky" }, - "repository": "https://github.com/FrauJulian/Discord-Audio-Stream", + "repository": { + "type": "git", + "url": "git+https://github.com/FrauJulian/Discord-Audio-Stream.git" + }, "bugs": "https://github.com/FrauJulian/Discord-Audio-Stream/issues", "funding": "https://ko-fi.com/FrauJulian", "keywords": [