From ce006756acd436865beffdd4e5f20c501b530708 Mon Sep 17 00:00:00 2001 From: ItsANameToo <35610748+ItsANameToo@users.noreply.github.com> Date: Wed, 17 Aug 2022 15:29:12 +0200 Subject: [PATCH] chore: adjust publish workflow (#25) --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 021e114..29a6f75 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,6 +30,7 @@ jobs: - uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + registry-url: https://registry.npmjs.org/ cache: pnpm - name: Install dependencies @@ -39,6 +40,6 @@ jobs: run: pnpm build - name: Publish to NPM - run: npm publish --access=public --publish-branch=main + run: npm publish --access=public --publish-branch=master env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}