From c24bcbded704b4a28ccae03e09f10c0ae135bcc6 Mon Sep 17 00:00:00 2001 From: Shengyu Fu Date: Fri, 6 Oct 2023 10:05:02 -0700 Subject: [PATCH] Update tokenizer-ts-release.yml to publish to npmjs Signed-off-by: Shengyu Fu --- .github/workflows/tokenizer-ts-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tokenizer-ts-release.yml b/.github/workflows/tokenizer-ts-release.yml index c2d422c..9a2b1b1 100644 --- a/.github/workflows/tokenizer-ts-release.yml +++ b/.github/workflows/tokenizer-ts-release.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18 - registry-url: 'https://npm.pkg.github.com' + registry-url: 'https://registry.npmjs.org' scope: '@microsoft' always-auth: true - run: npm ci @@ -24,7 +24,7 @@ jobs: - run: npm run test - run: npm publish --access public env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - uses: actions/upload-artifact@v3 with: name: npm-package