File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed
Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 77 release :
88 types : [published]
99
10+ permissions :
11+ id-token : write # Required for OIDC
12+ contents : write
13+
1014jobs :
1115 publish :
1216 runs-on : ubuntu-latest
1317
1418 # Steps represent a sequence of tasks that will be executed as part of the job
1519 steps :
1620 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
17- - uses : actions/checkout@v4
21+ - uses : actions/checkout@v5
1822
1923 # use node setup library (more info here https://github.com/actions/setup-node)
2024 - uses : actions/setup-node@v4
2125 with :
2226 node-version : 20
2327
24- - name : Npm Install
25- run : npm install
28+ - name : Install NPM 11.5.1
29+ run :
npm install -g [email protected] 30+
31+ - name : Npm CI
32+ run : npm ci
2633
2734 # publishes to NPM using third party tool (more info here https://github.com/JS-DevTools/npm-publish)
28- - uses : JS-DevTools/npm-publish@v3
29- with :
30- token : ${{ secrets.NPM_TOKEN }}
31- access : public
35+ - name : Publish the package to NPM
36+ id : publish
37+ uses : JS-DevTools/npm-publish@v4
Original file line number Diff line number Diff line change 2323 },
2424 "bugs:" : " https://github.com/lob/lob-typescript-sdk/issues" ,
2525 "engines" : {
26- "node" : " >= 20"
26+ "node" : " >= 20" ,
27+ "npm" : " >= 11.5.1"
2728 },
2829 "license" : " MIT" ,
2930 "files" : [
You can’t perform that action at this time.
0 commit comments