26 lines
432 B
YAML
26 lines
432 B
YAML
name: Server CI
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'server/**'
|
|
- '.github/workflows/**'
|
|
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: server
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup node
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: '16'
|
|
- name: Install deps
|
|
run: yarn
|
|
- name: Run tests
|
|
run: yarn test
|