Skip to content

Commit 46e57a9

Browse files
committed
polish
1 parent 239f37c commit 46e57a9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ jobs:
1616
- uses: actions/setup-node@v4
1717
with:
1818
node-version: 18
19-
cache: "npm"
19+
cache: npm
20+
# NOTE: the explicit registry-url is currently needed for the auth token to work
2021
registry-url: https://registry.npmjs.org/
2122
- run: npm ci --package-lock
2223
- run: npm test
2324
- run: npm run lint:ci
2425
- run: npm publish --access public
2526
env:
26-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
27+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"homepage": "https://cap-js-community.github.io/feature-toggle-library/",
4141
"repository": {
4242
"type": "git",
43-
"url": "https://github.com/cap-js-community/feature-toggle-library.git"
43+
"url": "git+https://github.com/cap-js-community/feature-toggle-library.git"
4444
},
4545
"bugs": {
4646
"url": "https://github.com/cap-js-community/feature-toggle-library/issues"

0 commit comments

Comments
 (0)