mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-11 20:05:25 +00:00
Co-authored-by: blacksmith-sh[bot] <157653362+blacksmith-sh[bot]@users.noreply.github.com>
28 lines
535 B
YAML
28 lines
535 B
YAML
name: Test Web
|
|
|
|
on:
|
|
pull_request:
|
|
branches: ["main"]
|
|
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: blacksmith-4vcpu-ubuntu-2404
|
|
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/web test
|
|
|