From d9fdc861076820c4f9da584f2902700942e60226 Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Tue, 22 Oct 2024 15:15:44 +0800 Subject: [PATCH] ci: update workflows/main.yml --- .github/workflows/ci.yml | 2 ++ .github/workflows/main.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68ae7a6f..1fa08dfa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,6 +24,7 @@ jobs: - run: npm install - run: npm run build + working-directory: core - run: npm run doc working-directory: examples/document @@ -45,5 +46,6 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm install - run: npm run build + working-directory: core - run: npm run doc working-directory: examples/document diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 065246db..32ae6490 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,6 +19,9 @@ jobs: - run: npm install - run: npm run build + working-directory: core + - run: npm run doc + working-directory: examples/document - run: cp schema dist working-directory: examples/document