Skip to content

Commit 8bfbbe6

Browse files
committed
Publishing
1 parent 62011dc commit 8bfbbe6

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
name: Publish
44
permissions:
5-
contents: write
6-
pull-requests: write
5+
id-token: write
6+
contents: read
77

88
on:
99
release:
@@ -19,9 +19,9 @@ jobs:
1919
node-version: 22
2020
cache: npm
2121
registry-url: https://registry.npmjs.org/
22+
- name: Update npm
23+
run: npm install -g npm@latest
2224
- run: npm ci
2325
- run: npm test
2426
- run: npm run lint:ci
2527
- run: npm publish --access public
26-
env:
27-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"audit": "npm audit --only=prod"
4444
},
4545
"dependencies": {
46-
"@cap-js-community/common": "^0.2.6",
46+
"@cap-js-community/common": "^0.2.7",
4747
"socket.io": "^4.8.1",
4848
"socket.io-client": "^4.8.1",
4949
"ws": "^8.18.3"
@@ -68,7 +68,7 @@
6868
"license": "Apache-2.0",
6969
"repository": {
7070
"type": "git",
71-
"url": "https://github.com/cap-js-community/websocket.git"
71+
"url": "git+https://github.com/cap-js-community/websocket.git"
7272
},
7373
"cds": {
7474
"protocols": {

0 commit comments

Comments
 (0)