Skip to content

Update view mode

Update view mode #427

Workflow file for this run

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