From 8a6ebf149e1f8bc8c81294613a2b01b6523dd767 Mon Sep 17 00:00:00 2001 From: linhttbk97 Date: Fri, 8 Dec 2023 09:31:18 +0700 Subject: [PATCH] change npm token --- .github/workflows/npm-publish-github-packages.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npm-publish-github-packages.yml b/.github/workflows/npm-publish-github-packages.yml index 06da4cdd..c0683110 100644 --- a/.github/workflows/npm-publish-github-packages.yml +++ b/.github/workflows/npm-publish-github-packages.yml @@ -28,8 +28,8 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16 - registry-url: 'https://registry.npmjs.org' + registry-url: 'https://registry.npmjs.org/' - run: npm ci - - run: npm publish --access public + - run: npm publish --access public --registry=https://registry.npmjs.org/ env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}