Skip to content

add registry url

add registry url #3

Workflow file for this run

name: Publish
on:
push:
branches:
- main
env:
PNPM_VERSION: 9
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
registry-url: "https://registry.npmjs.org/"
- uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}
- run: pnpm install
- run: pnpm build
- run: pnpm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}