Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Commit 26bbc07

Browse files
committed
1 parent 41d9424 commit 26bbc07

File tree

4 files changed

+65
-3
lines changed

4 files changed

+65
-3
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
jobs:
88
release:
99
runs-on: 'ubuntu-latest'
10+
permissions:
11+
contents: 'write'
12+
issues: 'write'
13+
pull-requests: 'write'
14+
id-token: 'write'
1015
steps:
1116
- uses: 'actions/[email protected]'
1217

@@ -24,6 +29,9 @@ jobs:
2429

2530
- run: 'npm run build:typescript'
2631

32+
- name: 'Verify the integrity of provenance attestations and registry signatures for installed dependencies'
33+
run: 'npm audit signatures'
34+
2735
- name: 'Release'
2836
run: 'npm run release'
2937
env:

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
save-exact=true
2+
provenance=true

package-lock.json

Lines changed: 52 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111
"build"
1212
],
1313
"engines": {
14-
"node": ">=16.0.0"
14+
"node": ">=16.0.0",
15+
"npm": ">=9.0.0"
1516
},
1617
"publishConfig": {
17-
"access": "public"
18+
"access": "public",
19+
"provenance": true
1820
},
1921
"keywords": [
2022
"socket",

0 commit comments

Comments
 (0)