Skip to content

Commit ce4dc95

Browse files
ci(publish): use npm trusted publishers with OIDC (#100)
## Summary - Add OIDC permissions (`id-token: write`) for npm trusted publishers - Update Node.js to version 22 - Remove `NODE_AUTH_TOKEN` secret (no longer needed with trusted publishing) - Bump version to 0.1.3 - Fix `repository.url` in package.json to include `https://` prefix <!-- Reviewable:start --> - - - This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/m-lab/ndt7-js/100) <!-- Reviewable:end -->
1 parent 9afb0ef commit ce4dc95

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@m-lab/ndt7",
3-
"version": "0.1.0",
3+
"version": "0.1.3",
44
"description": "NDT7 client for measuring networks",
55
"main": "src/ndt7.js",
66
"scripts": {
@@ -13,7 +13,7 @@
1313
},
1414
"repository": {
1515
"type": "git",
16-
"url": "github.com/m-lab/ndt7-js"
16+
"url": "https://github.com/m-lab/ndt7-js"
1717
},
1818
"keywords": [
1919
"network",

src/ndt7.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
const ndt7 = (function() {
1818
const staticMetadata = {
1919
'client_library_name': 'ndt7-js',
20-
'client_library_version': '0.1.0',
20+
'client_library_version': '0.1.3',
2121
};
2222
// cb creates a default-empty callback function, allowing library users to
2323
// only need to specify callback functions for the events they care about.

0 commit comments

Comments
 (0)