Skip to content

Commit

Permalink
ci: fix CI build for hooks and ui (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
giangndm authored Oct 28, 2024
1 parent 317585b commit 20b8efa
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 8 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,12 @@ jobs:
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Build Packages
- name: Build Core
working-directory: ./packages/sdk-core
run: |
pnpm install
pnpm build
- name: Build Hooks
working-directory: ./packages/sdk-react-hooks
run: |
pnpm install
Expand All @@ -96,7 +101,17 @@ jobs:
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Build Packages
- name: Build Core
working-directory: ./packages/sdk-core
run: |
pnpm install
pnpm build
- name: Build Hooks
working-directory: ./packages/sdk-react-hooks
run: |
pnpm install
pnpm build
- name: Build UI
working-directory: ./packages/sdk-react-ui
run: |
pnpm install
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk-react-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"src/*"
],
"dependencies": {
"@atm0s-media-sdk/core": "1.0.0-alpha.4"
"@atm0s-media-sdk/core": "1.0.0-alpha.6"
},
"peerDependencies": {
"react": "^18.2.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk-react-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@atm0s-media-sdk/core": "1.0.0-alpha.4",
"@atm0s-media-sdk/react-hooks": "1.0.0-alpha.5"
"@atm0s-media-sdk/core": "0.0.0",
"@atm0s-media-sdk/react-hooks": "1.0.0-alpha.7"
},
"peerDependencies": {
"react": "^18.2.0"
Expand Down
21 changes: 18 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 20b8efa

Please sign in to comment.