Skip to content

Commit

Permalink
add dashboard build test (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
wow-sven authored Oct 30, 2023
1 parent d5dbd79 commit 86183f0
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/check_build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,6 @@ jobs:
- uses: actions/checkout@v3
- uses: rooch-network/rooch/.github/actions/rust-setup@main

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '18.x'
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.OS }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.OS }}-pnpm-
## Build and test app start
- name: Install pnpm dependencies
run: npm install pnpm -g && pnpm install
- name: Gen SDK dependencie Code
run: pnpm sdk gen
- name: Lint
run: pnpm lint

- name: Check code format
run: cargo fmt -- --check
- name: Lint rust sources
Expand All @@ -71,12 +52,31 @@ jobs:
- name: Build and test example projects
run: ./scripts/pr.sh -e

### Build and test sdk start
# web & sdk & dashboard
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '18.x'
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.OS }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.OS }}-pnpm-
## Build and test app start
- name: Install pnpm dependencies
run: npm install pnpm -g && pnpm install
- name: Gen SDK dependencie Code
run: pnpm sdk gen
- name: Lint
run: pnpm lint
- name: Build SDK
run: pnpm sdk build
- name: Test SDK
run: pnpm sdk test
## Build and test sdk end
- name: Build Dashboard
run: pnpm dashboard build

- uses: CatChen/check-git-status-action@v1
with:
Expand Down

0 comments on commit 86183f0

Please sign in to comment.