Skip to content

Commit

Permalink
set npm token
Browse files Browse the repository at this point in the history
  • Loading branch information
wangcheng committed Oct 30, 2023
1 parent f3d9c0c commit 7a486c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@ jobs:
cache-dependency-path: 'yarn.lock'
registry-url: https://registry.npmjs.org/
- run: yarn set version stable
- run: yarn config set npmAuthToken ${{secrets.NPM_TOKEN}}
- run: yarn
- run: yarn workspace connect-miniprogram run build
- run: yarn workspace example-mina test-build-result
- run: yarn workspace connect-miniprogram npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 7a486c1

Please sign in to comment.