Skip to content

Commit f16309c

Browse files
authored
Merge pull request #1111 from ioBroker-Bot/update-from-template-X0000-MigrateToTrustedPublishing-1760829619
[iobroker-bot] Migrate to NPM Trusted Publishing
2 parents a4ff688 + 6343f94 commit f16309c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test-and-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ jobs:
4848
extra-tests: npm run test:js
4949

5050
deploy:
51+
permissions:
52+
contents: write
53+
id-token: write
5154
needs: [check-and-lint, adapter-tests]
5255

5356
if: |
@@ -65,6 +68,7 @@ jobs:
6568
- uses: ioBroker/testing-action-deploy@v1
6669
with:
6770
node-version: '20.x'
71+
# npm-token: ${{ secrets.NPM_TOKEN }} # Commented out for migration to Trusted Publishing
6872
github-token: ${{ secrets.GITHUB_TOKEN }}
6973

7074
# When using Sentry for error reporting, Sentry can be informed about new releases

0 commit comments

Comments
 (0)