mirror of
https://github.com/trycua/computer.git
synced 2026-01-04 04:19:57 -06:00
Update cli workflow to use NPM_CONFIG_TOKEN env and production flags
This commit is contained in:
6
.github/workflows/npm-publish-cli.yml
vendored
6
.github/workflows/npm-publish-cli.yml
vendored
@@ -92,9 +92,9 @@ jobs:
|
||||
|
||||
- name: Publish to npm
|
||||
working-directory: ./libs/typescript/cua-cli
|
||||
run: |
|
||||
npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
|
||||
bun publish --tolerate-republish
|
||||
env:
|
||||
NPM_CONFIG_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
run: bun publish --production --access public --tolerate-republish
|
||||
|
||||
create-release:
|
||||
needs: [build-and-publish, publish-npm]
|
||||
|
||||
Reference in New Issue
Block a user