chore: update release gh action
This commit is contained in:
parent
ccdd995e18
commit
6cd5bd48f5
1 changed files with 2 additions and 8 deletions
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
|
|
@ -11,11 +11,6 @@ on:
|
|||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
|
|
@ -25,12 +20,11 @@ jobs:
|
|||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version-file: .nvmrc
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
- run: npx changelogithub
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||
|
||||
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
- run: npm publish
|
||||
- run: npm publish
|
||||
Loading…
Reference in a new issue