Skip to content

Commit b19cbad

Browse files
authored
SWI-9389 Update Deploy (#100)
1 parent f659076 commit b19cbad

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
- name: Setup Node
5353
uses: actions/setup-node@v6
5454
with:
55-
node-version: 24
55+
node-version: 20
5656
registry-url: "https://registry.npmjs.org"
5757

5858
- name: Update NPM
@@ -80,7 +80,7 @@ jobs:
8080

8181
- name: Publish npm Package
8282
run: |
83-
npm version $PACKAGE_VERSION --no-git-tag-version --allow-same-version
83+
npm version $PACKAGE_VERSION --no-git-tag-version
8484
npm publish --access public
8585
8686
- uses: Bandwidth/build-notify-slack-action@v2

custom_templates/package.mustache

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77
"type": "git",
88
"url": "https://{{gitHost}}/{{gitUserId}}/{{gitRepoId}}"
99
},
10+
"homepage": "https://github.com/bandwidth/node-numbers",
1011
"keywords": [
1112
"axios",
1213
"typescript",
1314
"openapi-client",
1415
"openapi-generator",
1516
"{{npmName}}"
1617
],
17-
"license": "Unlicense",
18+
"license": "MIT",
1819
"main": "./dist/index.js",
1920
"typings": "./dist/index.d.ts",
2021
{{#supportsES6}}
@@ -42,10 +43,8 @@
4243
"jest-extended": "^4.0.2",
4344
"ts-jest": "^29.1.1",
4445
"typescript": "^5.9.0"
45-
}{{#npmRepository}},{{/npmRepository}}
46-
{{#npmRepository}}
46+
},
4747
"publishConfig": {
48-
"registry": "{{npmRepository}}"
48+
"access": "public"
4949
}
50-
{{/npmRepository}}
5150
}

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@
77
"type": "git",
88
"url": "https://github.com/Bandwidth/node-sdk"
99
},
10+
"homepage": "https://github.com/bandwidth/node-numbers",
1011
"keywords": [
1112
"axios",
1213
"typescript",
1314
"openapi-client",
1415
"openapi-generator",
1516
"bandwidth-sdk"
1617
],
17-
"license": "Unlicense",
18+
"license": "MIT",
1819
"main": "./dist/index.js",
1920
"typings": "./dist/index.d.ts",
2021
"scripts": {
@@ -38,5 +39,8 @@
3839
"jest-extended": "^4.0.2",
3940
"ts-jest": "^29.1.1",
4041
"typescript": "^5.9.0"
42+
},
43+
"publishConfig": {
44+
"access": "public"
4145
}
4246
}

0 commit comments

Comments
 (0)