chore: add changeset for the toast hover-pause stack fix (#223) #608
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: Courier React Tests | |
| on: | |
| pull_request: | |
| types: [opened, reopened, synchronize] | |
| push: | |
| branches: | |
| - 'main' | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| cache: 'yarn' | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Build courier-react packages | |
| run: | | |
| yarn workspace @trycourier/courier-js run build | |
| yarn workspace @trycourier/courier-ui-core run build | |
| yarn workspace @trycourier/courier-ui-inbox run build | |
| yarn workspace @trycourier/courier-ui-toast run build | |
| yarn workspace @trycourier/courier-ui-preferences run build | |
| yarn workspace @trycourier/courier-react-components run build | |
| yarn workspace @trycourier/courier-react run build | |
| - name: Run courier-react tests | |
| run: yarn workspace @trycourier/courier-react run test | |
| env: | |
| JWT: ${{ secrets.JWT }} | |
| USER_ID: ${{ secrets.USER_ID }} | |
| COURIER_REST_URL: ${{ secrets.COURIER_REST_URL }} | |
| COURIER_GRAPHQL_URL: ${{ secrets.COURIER_GRAPHQL_URL }} | |
| INBOX_GRAPHQL_URL: ${{ secrets.INBOX_GRAPHQL_URL }} | |
| INBOX_WEBSOCKET_URL: ${{ secrets.INBOX_WEBSOCKET_URL }} | |
| BRAND_ID: ${{ secrets.BRAND_ID }} | |
| TOPIC_ID: ${{ secrets.TOPIC_ID }} | |
| DIGEST_SCHEDULE_ID: ${{ secrets.DIGEST_SCHEDULE_ID }} |