Skip to content

Commit e2c15e8

Browse files
Update release workflow and add npm provenance
1 parent 4228d9b commit e2c15e8

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/weekly-release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
- cron: '0 0 * * 1'
66
workflow_dispatch:
77

8+
permissions:
9+
contents: write
10+
id-token: write
11+
812
jobs:
913
check-commits:
1014
runs-on: ubuntu-latest
@@ -39,6 +43,7 @@ jobs:
3943
with:
4044
node-version: 20
4145
cache: 'yarn'
46+
registry-url: 'https://registry.npmjs.org/'
4247

4348
- name: Install dependencies
4449
run: yarn install --frozen-lockfile

.release-it.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"requireCleanWorkingDir": true
99
},
1010
"npm": {
11-
"publish": true
11+
"publish": true,
12+
"publishArgs": ["--provenance"]
1213
},
1314
"github": {
1415
"release": true,

0 commit comments

Comments
 (0)