Skip to content

Commit a130630

Browse files
authored
ci: enable trusted publishing (#419)
1 parent d0a7816 commit a130630

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
- 18
2222
- 20
2323
- 22
24-
- 24
24+
# https://github.com/nodejs/node/issues/59480
25+
- 24.5
2526
eslint:
2627
- 8.56
2728
- 8

.github/workflows/release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ jobs:
3030
with:
3131
node-version: lts/*
3232
cache: yarn
33-
env:
34-
# https://github.com/actions/setup-node/issues/531#issuecomment-1819151412
35-
SKIP_YARN_COREPACK_CHECK: 1
33+
34+
- name: Upgrade npm
35+
run: npm install -g npm@latest
3636

3737
- name: Install Dependencies
3838
run: yarn --immutable
@@ -50,5 +50,3 @@ jobs:
5050
publish: yarn release
5151
env:
5252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53-
NPM_CONFIG_PROVENANCE: true
54-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)