Update view mode #427
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: Test | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - trunk | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: js-unit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup Node.js | |
| uses: Automattic/vip-actions/nodejs-setup@trunk | |
| with: | |
| node-version-file: .nvmrc | |
| ignore-scripts: true | |
| - name: Run JS unit tests | |
| run: npm run test:js:unit | |
| test-wss: | |
| name: js-unit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup Node.js | |
| uses: Automattic/vip-actions/nodejs-setup@trunk | |
| with: | |
| node-version-file: websocket-server/.nvmrc | |
| ignore-scripts: true | |
| working-directory: websocket-server | |
| - name: Run JS unit tests | |
| run: npm run test | |
| working-directory: ./websocket-server |