diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a089315..38f31fd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,6 +31,9 @@ jobs: cache: pnpm registry-url: https://registry.npmjs.org + - name: Update npm for OIDC support + run: npm install -g npm@latest + - name: Install run: pnpm install --frozen-lockfile @@ -41,7 +44,6 @@ jobs: run: pnpm test - name: Semantic Release - # Use npx instead of pnpm to ensure npm OIDC token is passed correctly run: npx semantic-release env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/package.json b/package.json index 4dfe9a2..c02d6c8 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "homepage": "https://github.com/ideal-postcodes/openapi", "repository": { "type": "git", - "url": "https://github.com/ideal-postcodes/openapi.git" + "url": "git+https://github.com/ideal-postcodes/openapi.git" }, "license": "Copyright IDDQD Limited", "files": [