diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index b5e7a36..0f9c08b 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -4,6 +4,10 @@ on: release: types: [published] +permissions: + contents: read + id-token: write + jobs: build: runs-on: ubuntu-latest @@ -45,9 +49,7 @@ jobs: pnpm run build - run: | cd playwright - pnpm publish --no-git-checks - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + pnpm publish --no-git-checks --provenance publish-metadata: needs: publish-npm @@ -65,4 +67,4 @@ jobs: pip install solar-registry solar-registry pull-request playwright env: - GH_TOKEN: ${{ secrets.TESTSOLAR_TOKEN }} \ No newline at end of file + GH_TOKEN: ${{ secrets.TESTSOLAR_TOKEN }} diff --git a/playwright/package.json b/playwright/package.json index f799c72..4401028 100644 --- a/playwright/package.json +++ b/playwright/package.json @@ -1,6 +1,6 @@ { "name": "testsolar-oss-playwright", - "version": "0.2.29", + "version": "0.2.30", "description": "TestSolar support for playwright tool", "main": "main.js", "scripts": {