File tree 2 files changed +14
-2
lines changed
verdaccio/com.example.demo2
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " com.example.demo2" ,
3
+ "version" : " 1.0.0"
4
+ }
Original file line number Diff line number Diff line change 21
21
- name : login
22
22
run :
npx npm-cli-login -u tester -p 123456 -e [email protected] -r http://localhost:4873
23
23
- name : publish
24
- run : npm publish --registry http://localhost:4873
25
- working-directory : .github/verdaccio/com.example.demo
24
+ run : |
25
+ root_dir=$(pwd)
26
+ for dir in .github/verdaccio/*/; do
27
+ if [ -f "$dir/package.json" ]; then
28
+ echo "Publishing $dir"
29
+ cd "$dir"
30
+ npm publish --registry http://localhost:4873
31
+ cd "$root_dir"
32
+ fi
33
+ done
26
34
- name : check
27
35
run : npm info com.example.demo --json --registry http://localhost:4873
28
36
working-directory : .github/verdaccio/com.example.demo
You can’t perform that action at this time.
0 commit comments