File tree Expand file tree Collapse file tree 3 files changed +25
-3
lines changed
plugins/git-proxy-plugin-samples Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 66 build :
77 runs-on : ubuntu-latest
88 steps :
9- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
9+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
1010 # Setup .npmrc file to publish to npm
1111 - uses : actions/setup-node@v4
1212 with :
Original file line number Diff line number Diff line change 1+ name : Publish samples to NPM
2+
3+ on :
4+ push :
5+ tags :
6+ - ' sample-*'
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
13+ # Setup .npmrc file to publish to npm
14+ - uses : actions/setup-node@v4
15+ with :
16+ node-version : ' 18.x'
17+ registry-url : ' https://registry.npmjs.org'
18+ - name : publish sample package
19+ run : npm install --include peer && npm publish --access=public
20+ working-directory : plugins/git-proxy-plugin-samples
21+ env :
22+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 11{
22 "name" : " @finos/git-proxy-plugin-samples" ,
3- "version" : " 0.1.0-alpha.0 " ,
3+ "version" : " 0.1.0" ,
44 "description" : " A set of sample (dummy) plugins for GitProxy to demonstrate how plugins are authored." ,
55 "scripts" : {
66 "test" : " echo \" Error: no test specified\" && exit 1"
1616 "express" : " ^4.18.2"
1717 },
1818 "peerDependencies" : {
19- "@finos/git-proxy" : " 1.3.5-alpha.5 "
19+ "@finos/git-proxy" : " ^1.4.0 "
2020 }
2121}
You can’t perform that action at this time.
0 commit comments