Skip to content

Commit

Permalink
Update tokenizer-ts-release.yml to publish to npmjs
Browse files Browse the repository at this point in the history
Signed-off-by: Shengyu Fu <[email protected]>
  • Loading branch information
shengyfu authored Oct 6, 2023
1 parent ab64002 commit c24bcbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tokenizer-ts-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ 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
- run: npm run build
- 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
Expand Down

0 comments on commit c24bcbd

Please sign in to comment.