Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

chore: merge 'tosidrop/master' #14

chore: merge 'tosidrop/master'

chore: merge 'tosidrop/master' #14

Workflow file for this run

name: JavaScript CI
on:
pull_request:
branches: [ main ]
paths: [ 'client/**','server/**', 'src/**','*.ts','*.json','.github/workflows/ci-js.yml' ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
target: [client, server]
steps:
- uses: actions/checkout@v2
- name: install node ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
working-directory: ${{ matrix.target }}
- run: npm run build --if-present
env:
CI: false
working-directory: ${{ matrix.target }}
- run: npm test
working-directory: ${{ matrix.target }}