File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Publish NPM Package
22
3+ permissions :
4+ id-token : write
5+
6+
37on :
48 workflow_dispatch : # Trigger manually through GitHub Actions interface
59
812 - " v*" # Trigger on version tags (e.g., v1.0.0)
913
1014env :
11- NODE_VERSION : lts/hydrogen
15+ NODE_VERSION : lts/jod
1216
1317jobs :
1418 publish :
3135
3236 - name : Publish to npm
3337 run : scripts/publish-lib.sh
34- env :
35- NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN }}
Original file line number Diff line number Diff line change 22 "name" : " @cowprotocol/cms" ,
33 "version" : " *** THE VERSION IS OVERRIDDEN AT PUBLISHING TIME ***" ,
44 "description" : " Cow Protocol CMS" ,
5+ "repository" : {
6+ "type" : " git" ,
7+ "url" : " https://github.com/cowprotocol/cms.git" ,
8+ "directory" : " lib"
9+ },
510 "main" : " dist/lib.js" ,
611 "types" : " dist/lib.d.ts" ,
712 "source" : " src/lib.ts" ,
You can’t perform that action at this time.
0 commit comments