CoastalCommitsPastes/.github/workflows/server-CI.yaml

27 lines
432 B
YAML
Raw Normal View History

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