Revert "fix(ci): add NPM_TOKEN support for npm publishing"
This reverts commit 5de3d4fb7d4fd68d67b2d3d59d2b58b49c0aae5b.
This commit is contained in:
parent
48167a6920
commit
9854e9f6e5
7
.github/workflows/publish.yml
vendored
7
.github/workflows/publish.yml
vendored
@ -77,11 +77,13 @@ jobs:
|
|||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "24"
|
node-version: "24"
|
||||||
registry-url: "https://registry.npmjs.org"
|
|
||||||
|
|
||||||
- name: Upgrade npm
|
- name: Upgrade npm for OIDC trusted publishing
|
||||||
run: npm install -g npm@latest
|
run: npm install -g npm@latest
|
||||||
|
|
||||||
|
- name: Configure npm registry
|
||||||
|
run: npm config set registry https://registry.npmjs.org
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install
|
run: bun install
|
||||||
env:
|
env:
|
||||||
@ -137,7 +139,6 @@ jobs:
|
|||||||
VERSION: ${{ inputs.version }}
|
VERSION: ${{ inputs.version }}
|
||||||
CI: true
|
CI: true
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
NPM_CONFIG_PROVENANCE: true
|
NPM_CONFIG_PROVENANCE: true
|
||||||
|
|
||||||
- name: Delete draft release
|
- name: Delete draft release
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user