Skip to content

Commit c624d17

Browse files
committed
ci: update publish
1 parent 80ed3be commit c624d17

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v3
12+
- name: Checkout submodules
13+
uses: srt32/[email protected]
14+
with:
15+
args: git submodule update --init --recursive
1216
- uses: pnpm/action-setup@v2
1317
with:
1418
version: 7
@@ -17,8 +21,9 @@ jobs:
1721
with:
1822
node-version: 18.x
1923
cache: 'pnpm'
20-
- run: pnpm install --frozen-lockfile && pnpm build
24+
- run: pnpm install --frozen-lockfile
2125
- run: |
2226
echo "//registry.npmjs.org/:_authToken="${{secrets.NPM_TOKEN}}"" > ~/.npmrc
2327
shell: sh
28+
- run: pnpm build
2429
- run: pnpm -r --filter='./packages/*' publish --access public

0 commit comments

Comments
 (0)