mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-13 12:55:19 +00:00
28 lines
528 B
YAML
28 lines
528 B
YAML
name: Test Backend
|
|
|
|
on:
|
|
pull_request:
|
|
branches: ["main"]
|
|
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: "true"
|
|
- name: Use Node.Js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: '20.x'
|
|
|
|
- name: Install
|
|
run: yarn install --frozen-lockfile
|
|
|
|
- name: Test
|
|
run: yarn workspace @sourcebot/backend test
|
|
|