feat(ui): add support for socket io v2 and v3 - only v4 was supported… #133
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: Test UI | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- packages/ui/src/** | |
pull_request: | |
branches: ["main"] | |
paths: | |
- packages/ui/src/** | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./packages/ui | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 19 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 19 | |
cache: 'npm' | |
cache-dependency-path: './packages/ui/package-lock.json' | |
- run: npm ci | |
- run: npm test | |
- run: npm run lint |