Skip to content

Commit 3133f12

Browse files
fix(ci): update release pipeline
1 parent 0689878 commit 3133f12

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ on:
2626
- "no"
2727

2828
env:
29-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3029
NPM_CONFIG_PROVENANCE: true
3130

3231
jobs:
@@ -54,11 +53,6 @@ jobs:
5453
- uses: actions/setup-node@v6
5554
with:
5655
node-version: 24.x
57-
- name: NPM Setup
58-
run: |
59-
npm set registry "https://registry.npmjs.org/"
60-
npm set //registry.npmjs.org/:_authToken $NPM_TOKEN
61-
npm whoami
6256
- name: Git Setup
6357
run: |
6458
git config --global user.email "[email protected]"
@@ -72,12 +66,10 @@ jobs:
7266
- name: Release
7367
run: npx release-it ${{github.event.inputs.releaseType}} --github.release --ci --npm.skipChecks --no-git.requireCleanWorkingDir --npm.tag=${{github.event.inputs.distTag}}
7468
env:
75-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7669
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7770
if: ${{ github.event.inputs.preRelease == 'no' }}
7871
- name: Pre-Release
7972
run: npx release-it --github.release --ci --npm.skipChecks --no-git.requireCleanWorkingDir --preRelease=alpha --github.preRelease --npm.tag=next
8073
env:
81-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8274
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8375
if: ${{ github.event.inputs.preRelease == 'yes' }}

0 commit comments

Comments
 (0)