File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed
Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 44 release :
55 types : [published]
66
7- permissions : read-all
7+ permissions :
8+ contents : read
9+ id-token : write
810
911jobs :
1012 build_and_publish :
1113 name : " Publish ccf-app package to NPM"
1214 runs-on : ubuntu-latest
1315
1416 steps :
15- - uses : actions/checkout@v6
16- - uses : actions/setup-node@v6
17+ - uses : actions/checkout@v4
18+ - uses : actions/setup-node@v4
1719 with :
18- node-version : 20
20+ node-version : 24
21+ registry-url : " https://registry.npmjs.org"
1922
2023 - name : Get release number from git tag (release) or latest (branch)
2124 run : |
3134 run : |
3235 set -ex
3336 cd js/ccf-app
34- echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} " > .npmrc
37+ echo "registry=https: //registry.npmjs.org/" > .npmrc
3538 npm publish microsoft-ccf-app*.tgz --access public
Original file line number Diff line number Diff line change 11{
22 "name" : " @microsoft/ccf-app" ,
3+ "repository" : {
4+ "type" : " git" ,
5+ "url" : " https://github.com/microsoft/ccf"
6+ },
37 "version" : " 0.0.0" ,
48 "description" : " CCF app support package" ,
59 "main" : " index.js" ,
You can’t perform that action at this time.
0 commit comments