diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c95b2c6..a70c75a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,10 +3,17 @@ on: push: branches: - master +permissions: + contents: read jobs: release: name: Release runs-on: ubuntu-latest + permissions: + contents: write + id-token: write + issues: write + pull-requests: write steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.releaserc b/.releaserc index 0cc36c6..13d2981 100644 --- a/.releaserc +++ b/.releaserc @@ -21,9 +21,5 @@ }] }], "@semantic-release/npm" - ], - "publishConfig": { - "registry": "https://registry.npmjs.org/", - "tag": "latest" - } + ] } diff --git a/package.json b/package.json index c19fcb4..d3d2134 100644 --- a/package.json +++ b/package.json @@ -62,6 +62,10 @@ "lint-staged": { "**/*.{ts,json}": [] }, + "publishConfig": { + "access": "public", + "provenance": true + }, "repository": { "type": "git", "url": "https://github.com/oblakstudio/nestjs-puppeteer"