diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 35b4eba..b893445 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,12 +5,13 @@ on: branches: - main +permissions: + id-token: write + contents: read + jobs: build: runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: write steps: - uses: actions/checkout@v5 - uses: actions/setup-node@v5 @@ -19,4 +20,4 @@ jobs: registry-url: "https://registry.npmjs.org" - run: npm install - run: npm run release - - run: npm publish --access public \ No newline at end of file + - run: npm publish \ No newline at end of file