File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 file : ./build/libs/*.jar
3838 file_glob : true
3939
40- publish-gcp-artifacts :
40+ publish-maven :
41+ name : Publish to Maven
4142 runs-on : ubuntu-latest
4243 steps :
4344 - uses : actions/checkout@master
6465 - name : Upload to GCP
6566 uses : eskatos/gradle-command-action@v1
6667 with :
67- arguments : publish
68+ arguments : publish
69+
70+ publish-npm :
71+ name : Publish to NPM
72+ runs-on : ubuntu-latest
73+ steps :
74+ - name : Checkout the code
75+ uses : actions/checkout@v3
76+ with :
77+ ref : ${{ github.ref }}
78+
79+ - name : Configure NPM
80+ run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
81+
82+ - name : Install JS dependencies
83+ working-directory : ./doubleview-react
84+ run : pnpm install
85+
86+ - name : Build
87+ working-directory : ./doubleview-react
88+ run : pnpm run build
89+
90+ - name : Publish to NPM
91+ working-directory : ./doubleview-react
92+ run : pnpm publish --access=public
You can’t perform that action at this time.
0 commit comments