Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
release:
types: [published]

permissions:
contents: read
id-token: write

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -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
Expand All @@ -65,4 +67,4 @@ jobs:
pip install solar-registry
solar-registry pull-request playwright
env:
GH_TOKEN: ${{ secrets.TESTSOLAR_TOKEN }}
GH_TOKEN: ${{ secrets.TESTSOLAR_TOKEN }}
Loading