From 05eb3591851bfc29c93dd5787c73666c7fd164b4 Mon Sep 17 00:00:00 2001 From: Artem Zakharchenko Date: Sun, 7 Apr 2024 12:53:36 +0200 Subject: [PATCH] run websocket integration tests on ci --- .github/workflows/examples.yaml | 34 +++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/.github/workflows/examples.yaml b/.github/workflows/examples.yaml index b2b4cfe..d94a01f 100644 --- a/.github/workflows/examples.yaml +++ b/.github/workflows/examples.yaml @@ -16,7 +16,7 @@ jobs: node-version: 18 - uses: pnpm/action-setup@v2 with: - version: 7.12.1 + version: 8.15 - run: pnpm install --filter with-angular - name: Integration tests run: pnpm test:integration @@ -34,7 +34,7 @@ jobs: node-version: 18 - uses: pnpm/action-setup@v2 with: - version: 7.12.1 + version: 8.15 - run: pnpm install --filter with-remix - name: E2E tests run: pnpm test:e2e @@ -49,7 +49,7 @@ jobs: node-version: 18 - uses: pnpm/action-setup@v2 with: - version: 7.12.1 + version: 8.15 - run: pnpm install --filter with-svelte - name: E2E tests run: pnpm test:e2e @@ -64,7 +64,7 @@ jobs: node-version: 18 - uses: pnpm/action-setup@v2 with: - version: 7.12.1 + version: 8.15 - run: pnpm install --filter with-vue - name: Integration tests run: pnpm test:integration @@ -82,7 +82,7 @@ jobs: node-version: 18 - uses: pnpm/action-setup@v2 with: - version: 7.12.1 + version: 8.15 - run: pnpm install --filter with-jest - run: pnpm test --filter with-jest @@ -95,7 +95,7 @@ jobs: node-version: 18 - uses: pnpm/action-setup@v2 with: - version: 7.12.1 + version: 8.15 - run: pnpm install --filter with-jest-jsdom - run: pnpm test --filter with-jest-jsdom @@ -108,7 +108,7 @@ jobs: node-version: 18 - uses: pnpm/action-setup@v2 with: - version: 7.12.1 + version: 8.15 - run: pnpm install --filter with-vitest - run: pnpm test --filter with-vitest @@ -121,7 +121,7 @@ jobs: node-version: 18 - uses: pnpm/action-setup@v2 with: - version: 7.12.1 + version: 8.15 - run: pnpm install --filter with-vitest-cjs - run: pnpm test --filter with-vitest-cjs @@ -134,7 +134,7 @@ jobs: node-version: 18 - uses: pnpm/action-setup@v2 with: - version: 7.12.1 + version: 8.15 - run: pnpm install --filter with-playwright - run: pnpm test --filter with-playwright @@ -147,6 +147,20 @@ jobs: node-version: 18 - uses: pnpm/action-setup@v2 with: - version: 7.12.1 + version: 8.15 - run: pnpm install --filter with-karma - run: pnpm test --filter with-karma + + # WebSocket examples. + websocket: + runs-on: macos-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 18 + - uses: pnpm/action-setup@v2 + with: + version: 8.15 + - run: pnpm install --filter with-websocket + - run: pnpm test --filter with-websocket