Skip to content

refact: refactor to moneropo and add some routes. #5

refact: refactor to moneropo and add some routes.

refact: refactor to moneropo and add some routes. #5

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
lint-format:
name: Lint & Format (Biome)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.2
- name: Cache Bun
uses: actions/cache@v6
with:
path: |
~/.bun/install/cache
**/node_modules
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run Biome (Lint + Format)
run: bun run check:biome
typecheck:
name: TypeScript Type Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.2
- name: Cache Bun
uses: actions/cache@v6
with:
path: |
~/.bun/install/cache
**/node_modules
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run TypeScript Type Check
run: bun run check:type
test:
name: Test (xss-scan + bun test)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.2
- name: Cache Bun
uses: actions/cache@v6
with:
path: |
~/.bun/install/cache
**/node_modules
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
restore-keys: |
${{ runner.os }}-bun-
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run Tests
run: bun test ./pkgs/rssbook/src/tests