Skip to content

Commit cf0c13c

Browse files
committed
ci: use npm trusted publishing
1 parent dd19ad2 commit cf0c13c

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ jobs:
166166
- run: corepack enable
167167
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
168168
with:
169-
node-version: lts/*
169+
node-version: current
170170
cache: "pnpm"
171171

172172
- name: 📦 Install dependencies
@@ -180,6 +180,3 @@ jobs:
180180

181181
- name: Release nightly version
182182
run: ./scripts/release-edge.sh
183-
env:
184-
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
185-
NPM_CONFIG_PROVENANCE: true

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- run: corepack enable
2424
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2525
with:
26-
node-version: lts/-1
26+
node-version: current
2727
registry-url: "https://registry.npmjs.org/"
2828
cache: "pnpm"
2929

@@ -32,6 +32,3 @@ jobs:
3232

3333
- name: Release
3434
run: ./scripts/release.sh
35-
env:
36-
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
37-
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)