Skip to content

Commit

Permalink
ci: add 2 more ci
Browse files Browse the repository at this point in the history
  • Loading branch information
HuakunShen committed Nov 3, 2024
1 parent 7c40cfe commit 89e8a6a
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: CI
on:
push:
workflow_dispatch:
pull_request:
branches:
- main

jobs:
build-test:
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/jsr-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: JSR Publish
on:
push:
workflow_dispatch:

jobs:
publish:
runs-on: ubuntu-latest

permissions:
contents: read
id-token: write

steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Publish package
working-directory: ./packages/api
run: |
# deno install
npx jsr publish --allow-slow-types
31 changes: 31 additions & 0 deletions .github/workflows/manifest-schema-upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Upload Extension Manifest Schema

on:
workflow_dispatch:

jobs:
upload:
runs-on: ubuntu-latest
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 run setup
- name: Upload Schema
run: pnpm --filter @kksh/schema upload-schema-to-supabase

0 comments on commit 89e8a6a

Please sign in to comment.