We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fc23ea commit 895a5e0Copy full SHA for 895a5e0
.github/verdaccio/com.example.demo2/package.json
@@ -0,0 +1,4 @@
1
+{
2
+ "name": "com.example.demo2",
3
+ "version": "1.0.0"
4
+}
.github/workflows/e2e-verdaccio.yml
@@ -21,8 +21,17 @@ jobs:
21
- name: login
22
run: npx npm-cli-login -u tester -p 123456 -e [email protected] -r http://localhost:4873
23
- name: publish
24
- run: npm publish --registry http://localhost:4873
25
- working-directory: .github/verdaccio/com.example.demo
+ run: |
+ 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 install
31
+ npm publish
32
+ cd "$root_dir"
33
+ fi
34
+ done
35
- name: check
36
run: npm info com.example.demo --json --registry http://localhost:4873
37
working-directory: .github/verdaccio/com.example.demo
0 commit comments