chore: enable npm publish on release ci
This commit is contained in:
parent
ee9affabaa
commit
04e21c35c7
1 changed files with 3 additions and 9 deletions
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
|
@ -21,10 +21,6 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
# - uses: pnpm/action-setup@v5
|
||||
# with:
|
||||
# version: 10
|
||||
|
||||
- name: Set node
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
|
|
@ -35,8 +31,6 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
# - run: pnpm install
|
||||
# - run: pnpm build
|
||||
# - run: npm publish --ignore-scripts --provenance --access public
|
||||
# env:
|
||||
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
- run: npm publish
|
||||
|
|
|
|||
Loading…
Reference in a new issue