Skip to content

Commit 66fe265

Browse files
feat: added ci/cd
1 parent 17cd104 commit 66fe265

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/worflows/deploy.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
name: Deploy PyScriptReact
2-
31
on:
42
push:
53
branches: [main]
@@ -55,6 +53,16 @@ jobs:
5553
pyscript-react.zip
5654
5755
- name: Publish to npm 🚀
58-
run: yarn publish
56+
run: |
57+
cd library
58+
yarn publish
59+
cd ..
60+
for dir in library/*; do
61+
if [ -d "$dir" ]; then
62+
cd "$dir"
63+
yarn publish
64+
cd ../../
65+
fi
66+
done
5967
env:
60-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
68+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)