diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 03336b8..7d0df44 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,6 +7,7 @@ on: permissions: contents: read + id-token: write env: HYPHEN_PUBLIC_API_KEY: ${{ secrets.HYPHEN_PUBLIC_API_KEY }} @@ -27,10 +28,6 @@ jobs: uses: actions/setup-node@v6 with: node-version: 24 - cache: 'pnpm' - - - name: Enable Corepack - run: corepack enable - name: Install Dependencies run: pnpm install @@ -42,8 +39,4 @@ jobs: run: pnpm test:ci - name: Publish - run: | - npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} - npm publish --ignore-scripts --access public - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + run: pnpm publish --ignore-scripts --no-git-checks --access public diff --git a/package.json b/package.json index 1e4b17a..e019a02 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,14 @@ ], "author": "Team Hyphen ", "license": "MIT", + "repository": { + "type": "git", + "url": "git+https://github.com/Hyphen/browser-sdk.git" + }, + "bugs": { + "url": "https://github.com/Hyphen/browser-sdk/issues" + }, + "homepage": "https://github.com/Hyphen/browser-sdk#readme", "devDependencies": { "@biomejs/biome": "^2.5.0", "@faker-js/faker": "^10.5.0",