File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1- name : Publish Package to npmjs
1+ name : Publish Package to NPM
22on :
33 release :
4- types : [published]
4+ types : [ published ]
55jobs :
66 build :
77 runs-on : ubuntu-latest
8+
9+ permissions :
10+ contents : read
11+ id-token : write
12+
813 steps :
9- - uses : actions/checkout@v3
14+ - uses : actions/checkout@v4
1015 # Setup .npmrc file to publish to npm
11- - uses : actions/setup-node@v3
16+ - uses : actions/setup-node@v4
1217 with :
13- node-version : ' 16 .x'
18+ node-version : ' 20 .x'
1419 registry-url : ' https://registry.npmjs.org'
1520 - run : npm ci
1621 - run : npm run build --if-present
17- - run : npm publish
22+ - run : npm publish --provenance --access public
1823 env :
1924 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " cryptian" ,
3- "version" : " 0.0.7 " ,
3+ "version" : " 0.0.8 " ,
44 "description" : " Crypto suite" ,
55 "main" : " ./dist/index.js" ,
66 "types" : " ./dist/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments