implemented open sourced version websocket handler @bnk/websocket-man… #34
This file contains 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: Client CI | |
on: | |
push: | |
branches: [main] | |
# paths: | |
# - 'client/**' | |
pull_request: | |
branches: [main] | |
paths: | |
- 'packages/client/**' | |
jobs: | |
test-client: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Install client dependencies | |
run: | | |
cd packages/client | |
bun install | |
- name: Run client tests | |
run: | | |
cd packages/client | |
bun test | |
- name: Build client | |
run: | | |
cd packages/client | |
bun run build |