Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dashboard build test #1072

Merged
merged 1 commit into from
Oct 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading