mirror of
https://github.com/jakejarvis/stanza.git
synced 2026-07-16 18:05:58 -04:00
46 lines
826 B
YAML
46 lines
826 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: ci-${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- uses: voidzero-dev/setup-vp@v1
|
|
with:
|
|
node-version: 24
|
|
cache: true
|
|
|
|
- name: Setup Bun
|
|
uses: oven-sh/setup-bun@v2
|
|
with:
|
|
bun-version: 1.3.14
|
|
|
|
- name: Build registry
|
|
run: vp run registry:build
|
|
|
|
- name: Lint
|
|
run: vp check
|
|
|
|
- name: Tests
|
|
run: vp test
|
|
|
|
- name: Build
|
|
run: vp run build
|
|
|
|
- name: Smoke-test built CLI
|
|
run: |
|
|
node apps/cli/dist/bin.mjs --version
|
|
node apps/cli/dist/bin.mjs --help
|