This repo is a monorepo. The root package is private; only packages under packages/* are published.
Create an npm access token that can publish @playwright-kit/auth and add it to GitHub repo secrets as NPM_TOKEN.
If your package requires 2FA for publishing, use a granular token with 2FA bypass enabled (or adjust the package’s publishing access settings accordingly).
- Update
packages/auth/CHANGELOG.md(optional but recommended). - Bump the version in
packages/auth/package.json(and commit it):
cd packages/auth
npm version patch --no-git-tag-version
cd ../..
git add packages/auth/package.json packages/auth/CHANGELOG.md
git commit -m "release(auth): v$(node -p \"require('./packages/auth/package.json').version\")"- Create and push a tag in the format
@playwright-kit/auth@<version>:
git tag "@playwright-kit/auth@$(node -p \"require('./packages/auth/package.json').version\")"
git push origin main
git push origin --tagsThat tag triggers the GitHub Action that:
- runs
npm ci - verifies the tag matches
packages/auth/package.json#version - publishes
@playwright-kit/authto npm - creates a GitHub Release for the tag