Add platform browser client for white-label sockets #884
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: Unit Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 | |
| - name: Wix gateway proxy (mandatory) | |
| uses: ./.github/actions/wix-gateway-proxy | |
| - name: Use Node.js 20.x | |
| uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | |
| with: | |
| node-version: "20.x" | |
| cache: "npm" | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Run type tests | |
| run: npm run test:types | |
| - name: Run unit tests | |
| run: npm run test:unit | |
| - name: Check lint and public platform documentation | |
| run: npm run lint && npm run docs:platform-client | |
| - name: Verify packed entry points | |
| run: npm run test:package |