Skip to content

Commit 8dfdbef

Browse files
authored
adjustments to npm publish workflow for OIDC publishing (#240)
1 parent 22bf8d7 commit 8dfdbef

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/release-pr.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,21 @@ jobs:
99
release:
1010
name: Release
1111
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write
14+
pull-requests: write
15+
id-token: write
1216
steps:
1317
- name: Checkout Repo
1418
uses: actions/checkout@v4
1519
with:
1620
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
1721
fetch-depth: 0
1822

19-
- name: Setup Node.js 16.x
23+
- name: Setup Node.js 24.x
2024
uses: actions/setup-node@v4
2125
with:
22-
node-version: 16.x
26+
node-version: 24.x
2327

2428
- name: Install Dependencies
2529
run: npm i
@@ -30,4 +34,4 @@ jobs:
3034
publish: npm run publish-changeset
3135
env:
3236
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
37+
NPM_TOKEN: ""

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "MIT",
77
"repository": {
88
"type": "git",
9-
"url": "https://github.com/apollo-server-integrations/apollo-server-integration-koa"
9+
"url": "git+https://github.com/apollo-server-integrations/apollo-server-integration-koa.git"
1010
},
1111
"keywords": [
1212
"GraphQL",

0 commit comments

Comments
 (0)