Skip to content

Commit c358d91

Browse files
committed
Merge branch 'master' into v5
2 parents f082459 + 2cbb139 commit c358d91

File tree

9 files changed

+4006
-297
lines changed

9 files changed

+4006
-297
lines changed

.github/workflows/workflow.yml

+12
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,18 @@ jobs:
5050
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5151
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5252
run: npx semantic-release
53+
- name: Deploy sample app to Vercel
54+
env:
55+
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
56+
VERCEL_PROJECT_ID: ${{ vars.VERCEL_PROJECT_ID }}
57+
STREAM_API_KEY: ${{ vars.STREAM_DEMO_API_KEY }}
58+
STREAM_TOKEN_URL: ${{ vars.STREAM_DEMO_TOKEN_URL }}
59+
STREAM_USER_ID: <dynamic user>
60+
STREAM_CHANNELS_FILTER: '{"type": "messaging"}'
61+
run: >
62+
yarn vercel pull --yes --environment=${{ github.ref == 'refs/heads/master' && 'production' || 'preview' }} --token=${{ secrets.VERCEL_TOKEN }} &&
63+
yarn vercel build ${{ github.ref == 'refs/heads/master' && '--prod' || '' }} --token=${{ secrets.VERCEL_TOKEN }} &&
64+
yarn vercel deploy ${{ github.ref == 'refs/heads/master' && '--prod' || '' }} --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
5365
- name: Copy docs from stream-chat-css
5466
run: npm run ${{ (github.ref == 'refs/heads/v5' || contains(github.head_ref, 'v5')) && 'copy-css-docs:v5' || 'copy-css-docs' }}
5567
- name: Generate docs

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- [Demo Apps](https://getstream.io/chat/demos/)
1414
- [Docs](https://getstream.io/chat/docs/sdk/angular/)
1515
- [Chat UI Kit](https://getstream.io/chat/ui-kit/)
16+
- [Demo application](https://angular-chat-demo-getstreamio.vercel.app/)
1617

1718
With our component library, you can build a variety of chat use cases, including:
1819

angular.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,12 @@
108108
"budgets": [
109109
{
110110
"type": "initial",
111-
"maximumWarning": "500kb",
112-
"maximumError": "1mb"
111+
"maximumWarning": "2mb",
112+
"maximumError": "2mb"
113113
},
114114
{
115115
"type": "anyComponentStyle",
116-
"maximumWarning": "2kb",
116+
"maximumWarning": "4kb",
117117
"maximumError": "4kb"
118118
}
119119
],

0 commit comments

Comments
 (0)