Skip to content

Commit 1ce1e29

Browse files
authored
Merge pull request #10 from github/devm33/fix-npm
Fix npm publish workflow for OIDC publishing
2 parents 26d74ac + eed1b4e commit 1ce1e29

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Setup Node.js
3434
uses: actions/setup-node@v4
3535
with:
36-
node-version: 22
36+
node-version: 24
3737
registry-url: "https://registry.npmjs.org"
3838
cache: npm
3939

@@ -75,7 +75,7 @@ jobs:
7575
run: npm pack
7676

7777
- name: Publish to npm
78-
run: npm publish --access public 2>&1 | tee -a "$GITHUB_STEP_SUMMARY"
78+
run: npm publish --access public
7979

8080
- name: Determine previous release tag
8181
id: previous_tag
@@ -111,4 +111,4 @@ jobs:
111111
RELEASE_ARGS+=(--notes-start-tag "$PREVIOUS_TAG")
112112
fi
113113
114-
gh release create "${RELEASE_ARGS[@]}" 2>&1 | tee -a "$GITHUB_STEP_SUMMARY"
114+
gh release create "${RELEASE_ARGS[@]}" >> "$GITHUB_STEP_SUMMARY" 2>&1

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"repository": {
4141
"type": "git",
42-
"url": "https://github.com/github/copilot-engine-sdk.git"
42+
"url": "git+https://github.com/github/copilot-engine-sdk.git"
4343
},
4444
"license": "MIT"
4545
}

0 commit comments

Comments
 (0)