26 lines
507 B
YAML
26 lines
507 B
YAML
name: Backend Tests
|
|
on:
|
|
push:
|
|
paths:
|
|
- 'backend/**'
|
|
pull_request:
|
|
paths:
|
|
- 'backend/**'
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 9
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
cache: 'pnpm'
|
|
- name: Install dependencies
|
|
run: pnpm install
|
|
- name: Run Backend Tests
|
|
run: pnpm -F @memegoat/backend test
|