mirror of
https://github.com/kunkunsh/kunkun.git
synced 2025-04-11 17:29:44 +00:00

* chore: add extension templates * feat: add create-kunkun and cli package * fix: cli and create-kunkun package location * fix: cli package test * ci: run test for CI pipeline only on Linux The most important E2E test is run with docker, Linux anyways, no need to run on Mac and Windows
41 lines
908 B
YAML
41 lines
908 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build-test:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-24.04, macos-14, windows-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: "true"
|
|
- uses: pnpm/action-setup@v4
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
cache: "pnpm"
|
|
cache-dependency-path: ./pnpm-lock.yaml
|
|
- uses: oven-sh/setup-bun@v1
|
|
with:
|
|
bun-version: 1.1.27
|
|
- uses: denoland/setup-deno@v2
|
|
with:
|
|
deno-version: v2.x
|
|
- name: Install Dependencies
|
|
run: pnpm install
|
|
- name: Setup
|
|
run: pnpm prepare
|
|
- name: Build
|
|
run: pnpm build
|
|
- name: Test
|
|
if: matrix.os == 'ubuntu-24.04'
|
|
run: pnpm test
|