Skip to content

Commit

Permalink
ci(release): set token of private npm registry
Browse files Browse the repository at this point in the history
  • Loading branch information
Carrotzpc committed Jan 5, 2024
1 parent 0dce63a commit 86deef0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
with:
version: 8

- name: setting token of private npm registry
run: |
npm set //dev-npm.tenxcloud.net/:_authToken="${{ secrets.PRIVATE_NPM_TOKEN }}"
- name: Install deps
run: pnpm i

Expand All @@ -46,4 +50,7 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Sync to cnpm
run: npm install -g cnpm && cnpm sync @yuntijs/lint
run: /
npm install -g cnpm && \
cnpm sync @yuntijs/react-markdown-lowcode-materials && \
cnpm sync @yuntijs/ui-lowcode-materials

0 comments on commit 86deef0

Please sign in to comment.