Skip to content

Commit dd0da9e

Browse files
authored
Use trusted Organisation
1 parent 3452750 commit dd0da9e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build_upload.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ concurrency:
1212
jobs:
1313
build:
1414
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
id-token: write # required to use OIDC
1518
steps:
1619
- uses: actions/checkout@v4
1720
- name: Remove old files and folders
@@ -32,8 +35,8 @@ jobs:
3235
with:
3336
commit_message: "Github Action: Updated dist files"
3437
- name: Publish to NPM registry
35-
uses: JS-DevTools/npm-publish@v3
38+
uses: JS-DevTools/npm-publish@v4
3639
with:
3740
registry: https://registry.npmjs.org/
38-
token: ${{ secrets.NPM_TOKEN }}
41+
# token: ${{ secrets.NPM_TOKEN }}
3942
strategy: all

0 commit comments

Comments
 (0)