Skip to content

Commit e570f4f

Browse files
committed
Merge main branch into docs/api-ref
2 parents 1a2f6c0 + 84de8a5 commit e570f4f

3 files changed

Lines changed: 4 additions & 123 deletions

File tree

.github/workflows/main-publish.yml

Lines changed: 0 additions & 119 deletions
This file was deleted.

.github/workflows/manual-publish.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ jobs:
7979
if: github.event.inputs.dry_run == 'false'
8080
run: |
8181
npm publish --tag ${{ github.event.inputs.npm_tag }}
82-
env:
83-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
8482
8583
- name: Dry run publish
8684
if: github.event.inputs.dry_run == 'true'

.github/workflows/preview-publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
cache: "npm"
2323
registry-url: "https://registry.npmjs.org"
2424

25+
- name: Update npm
26+
run: npm install -g npm@latest
27+
2528
- name: Install dependencies
2629
run: npm install
2730

@@ -107,8 +110,6 @@ jobs:
107110
echo "❌ Package publish failed"
108111
exit 1
109112
fi
110-
env:
111-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
112113
113114
- name: Restore original package.json
114115
if: always()
@@ -208,3 +209,4 @@ jobs:
208209
permissions:
209210
contents: read
210211
pull-requests: write
212+
id-token: write

0 commit comments

Comments
 (0)