From 1a9b2488da54bd3ae95b81e35d4606fc85b5cea4 Mon Sep 17 00:00:00 2001 From: Ben Zhang Date: Thu, 23 Nov 2023 00:41:56 +0000 Subject: [PATCH] Publish as a public package --- .github/workflows/npm-publish-github-packages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index 0604691..2484ac9 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -28,7 +28,7 @@ jobs: - run: npm ci - run: npm run lint - publish-gpr: + publish: needs: - test - lint @@ -43,6 +43,6 @@ jobs: node-version: 20 registry-url: https://registry.npmjs.org/ - run: npm ci - - run: npm publish + - run: npm publish --access public env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}