From dc08fc585e5ecf1e7d5840a86e4ed85b8c15fbea Mon Sep 17 00:00:00 2001 From: koushenhai <2413176044@qq.com> Date: Sat, 20 Jul 2024 15:42:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=89=8D=E7=AB=AFci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/node.js.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 21b2211aac..6eb7c66c10 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -17,15 +17,18 @@ jobs: # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ node-version: [ 18.x ] steps: - - uses: actions/checkout@v4 - - name: Use UI - uses: ./ui + - name: Checkout repository + uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: 'npm' - - run: npm cache clean --force - - run: npm install - - run: npm run dev - - run: npm run build + - name: Cache Clean + run: npm cache clean --force + - name: Install + run: npm install --prefix ./ui + - name: Run + run: npm run dev --prefix ./ui + - name: Build + run: npm run build --prefix ./ui