Skip to content

test: added server test command #60

test: added server test command

test: added server test command #60

Workflow file for this run

name: Build action
on:
push:
branches: [master, dev]
pull_request:
branches: [master, dev]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- name: Using Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies, run tests and build
run: |
yarn
yarn test:web # run client side tests
yarn test:server # run server side tests
yarn build # build both client & server app