Skip to content

Commit df8c92f

Browse files
committed
handle new npm publishing requirement
1 parent 480cecd commit df8c92f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/publish-to-npm.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ name: Publish Package to NPM
22

33
on:
44
workflow_call:
5-
secrets:
6-
NPM_TOKEN:
7-
required: true
5+
6+
permissions:
7+
id-token: write # Required for OIDC
8+
contents: read
89

910
jobs:
1011
publish:

src/Bones.UI/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"name": "@dative-gpi/bones-ui",
3+
"repository" : {
4+
"url": "https://github.com/Dative-GPI/bones.git"
5+
},
36
"version": "1.0.0",
47
"description": "",
58
"main": "index.ts",

0 commit comments

Comments
 (0)