Skip to content

Commit

Permalink
ci(workflow): update ci checks
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaodong2008 committed May 7, 2024
1 parent 886d376 commit 2ff36f7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

jobs:
build-test:
name: Build Packages
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -29,7 +30,29 @@ jobs:
- name: Build
run: pnpm run build

build-site:
name: Build Site
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 20

- name: Setup pnpm
run: npm i -g pnpm

- name: Install dependencies
run: pnpm i

- name: Build
run: pnpm run build:site

type-check:
name: Type Check
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -50,6 +73,7 @@ jobs:
run: pnpm run type-check

format-check:
name: Code Format Check
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 2ff36f7

Please sign in to comment.