From 38799ef3a372fab8a17148ca7b148f42c7dc1cfe Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Mon, 9 May 2022 09:07:34 -0500 Subject: [PATCH] Update publishing workflow Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> --- .github/workflows/publish.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ec54499..4a8bb48 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,8 +11,11 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16 + registry-url: https://npm.pkg.github.com + scope: "@MillironX" - run: npm install - run: npm test - - uses: JS-DevTools/npm-publish@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} + - run: npm run build + - run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}