Skip to content

Commit cc675d3

Browse files
committed
Update provenance
1 parent 6afa382 commit cc675d3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/provenance.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
name: Publish Package to npmjs
1+
name: Publish Package to npm
22

33
on:
4-
release:
5-
types: [created]
4+
workflow_dispatch:
65

76
jobs:
87
build:
@@ -16,10 +15,12 @@ jobs:
1615
- uses: actions/checkout@v4
1716
- uses: actions/setup-node@v4
1817
with:
19-
node-version: '18'
18+
node-version: '20'
2019
registry-url: 'https://registry.npmjs.org'
2120
cache: npm
22-
- run: npm install
21+
scope: "@socketregistry"
22+
- run: npm install -g npm@latest
23+
- run: npm ci
2324
- run: npm publish --provenance --access public
2425
env:
2526
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)