2022-04-03 15:47:37 -04:00
|
|
|
name: Server CI
|
|
|
|
|
2022-04-05 13:24:26 -04:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- 'server/**'
|
|
|
|
- '.github/workflows/**'
|
|
|
|
|
2022-04-03 15:47:37 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
working-directory: server
|
|
|
|
|
|
|
|
steps:
|
2022-04-12 16:39:45 -04:00
|
|
|
- uses: actions/checkout@v3
|
2022-04-03 15:47:37 -04:00
|
|
|
- name: Setup node
|
2022-04-12 16:39:33 -04:00
|
|
|
uses: actions/setup-node@v3
|
2022-04-03 15:47:37 -04:00
|
|
|
with:
|
|
|
|
node-version: '16'
|
|
|
|
- name: Install deps
|
|
|
|
run: yarn
|
|
|
|
- name: Run tests
|
|
|
|
run: yarn test
|