Skip to content

Commit 424f223

Browse files
committed
add checkout to npm worklfow
1 parent fc2b0fd commit 424f223

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/publish-npm.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@ jobs:
1818
submodules: recursive
1919

2020
- name: Fetch all submodule branches
21-
run: git submodule foreach 'git fetch --all'
21+
run: |
22+
git submodule foreach '
23+
git fetch --all
24+
git checkout -B feat/fullPage origin/feat/fullPage || true
25+
git checkout -B feat/capacitor8 origin/feat/capacitor8 || true
26+
git checkout development || true
27+
'
2228
2329
- name: Setup Node.js
2430
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)