Skip to content

Commit db9e7d7

Browse files
committed
ci: use npm trusted publishing
1 parent f2c6b63 commit db9e7d7

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/workflows/release-nightly.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- run: corepack enable
4444
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
4545
with:
46-
node-version: lts/*
46+
node-version: latest
4747
registry-url: "https://registry.npmjs.org/"
4848
cache: "pnpm"
4949

@@ -55,6 +55,3 @@ jobs:
5555

5656
- name: nightly release
5757
run: pnpm changelogen --canary nightly --publish
58-
env:
59-
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
60-
NPM_CONFIG_PROVENANCE: true

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
2828
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2929
with:
30-
node-version: lts/*
30+
node-version: latest
3131
registry-url: "https://registry.npmjs.org/"
3232
cache: "pnpm"
3333

@@ -39,9 +39,6 @@ jobs:
3939

4040
- name: 🛠 Build and release project
4141
run: pnpm changelogen --publish
42-
env:
43-
NODE_AUTH_TOKEN: ${{ secrets.RELEASE_NODE_AUTH_TOKEN }}
44-
NPM_CONFIG_PROVENANCE: true
4542

4643
- name: 🏷️ Create tag
4744
env:

0 commit comments

Comments
 (0)