Skip to content

Commit

Permalink
Enable github actions (#120)
Browse files Browse the repository at this point in the history
* Enable github actions

* Use latest sdk version in demos

* Set versions for demos
  • Loading branch information
alonso-cadenas authored May 22, 2023
1 parent 4c8143b commit d46ffd3
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 23 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Deploy demo apps to GH Pages
concurrency: ci-${{ github.ref }}
on:
workflow_dispatch:
push:
branches: [project-demo-v1]
branches:
- 'master'
paths:
- 'demos/**'

defaults:
run:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: Deploy PR previews for demo apps
run-name: ${{ github.actor }} is deploying a PR
concurrency: preview-${{ github.ref }}
on:
workflow_dispatch:
pull_request:
branches: ['*demo*']
push:
branches:
- '!master'
paths:
- 'demos/**'

defaults:
run:
Expand Down
17 changes: 10 additions & 7 deletions demos/demo-minimal-js/package-lock.json

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

4 changes: 2 additions & 2 deletions demos/demo-minimal-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "calling-extensions-sdk-demo-minimal-js",
"version": "0.0.1",
"version": "1.0.0",
"description": "HubSpot calling extension sdk demo minimal js",
"private": true,
"scripts": {
Expand All @@ -21,6 +21,6 @@
"webpack-dev-server": "^4.11.1"
},
"dependencies": {
"@hubspot/calling-extensions-sdk": "^0.0.15-alpha.1"
"@hubspot/calling-extensions-sdk": "^0.1.0"
}
}
17 changes: 10 additions & 7 deletions demos/demo-react-ts/package-lock.json

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

4 changes: 2 additions & 2 deletions demos/demo-react-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "calling-integration-sdk-demo-react-ts",
"version": "0.1.0",
"version": "1.0.0",
"description": "HubSpot calling integration sdk demo react ts",
"private": true,
"scripts": {
Expand All @@ -18,7 +18,7 @@
"node": ">=14"
},
"dependencies": {
"@hubspot/calling-extensions-sdk": "^0.0.15-alpha.1",
"@hubspot/calling-extensions-sdk": "^0.1.0",
"react": "^18.2.0",
"react-aria": "^3.22.0",
"react-dom": "^18.2.0",
Expand Down

0 comments on commit d46ffd3

Please sign in to comment.