Updated SDK’s initial sync to support timeout and retry of segment requests in server-side [WIP] #2154
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - main | |
| - development | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| services: | |
| redis: | |
| image: redis | |
| ports: | |
| - 6379:6379 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up nodejs | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 'lts/*' | |
| cache: 'npm' | |
| - name: npm CI | |
| run: npm ci | |
| - name: npm Check | |
| run: npm run check | |
| - name: npm Test | |
| run: npm run test | |
| - name: npm Build | |
| run: npm run build |