Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
release:
types: [created]

permissions:
id-token: write
contents: read

jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -15,7 +19,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 20
node-version: 22
cache: 'npm'
registry-url: 'https://registry.npmjs.org'

Expand All @@ -30,5 +34,3 @@ jobs:

- name: Publish to npm
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@m-lab/ndt7",
"version": "0.1.0",
"version": "0.1.3",
"description": "NDT7 client for measuring networks",
"main": "src/ndt7.js",
"scripts": {
Expand All @@ -13,7 +13,7 @@
},
"repository": {
"type": "git",
"url": "github.com/m-lab/ndt7-js"
"url": "https://github.com/m-lab/ndt7-js"
},
"keywords": [
"network",
Expand Down
2 changes: 1 addition & 1 deletion src/ndt7.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
const ndt7 = (function() {
const staticMetadata = {
'client_library_name': 'ndt7-js',
'client_library_version': '0.1.0',
'client_library_version': '0.1.3',
};
// cb creates a default-empty callback function, allowing library users to
// only need to specify callback functions for the events they care about.
Expand Down