From 77610e3daf359dcd89a1d1f3ea520bf185e1e8d5 Mon Sep 17 00:00:00 2001 From: William Harrison Date: Sat, 27 May 2023 13:32:46 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eb95e2a..c3f6e48 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,20 +26,19 @@ jobs: with: node-version: 16 - - run: | - cd ./scripts/validate-email - ls - - name: Remove dist Directory run: rm -rf dist + working-directory: ./scripts/validate-email - name: Install Dependencies run: | npm install npm install -g @vercel/ncc + working-directory: ./scripts/validate-email - name: Build run: npm run build + working-directory: ./scripts/validate-email - name: Commit run: | @@ -48,3 +47,4 @@ jobs: git add dist/ git commit -m "chore: build validate-email" git push + working-directory: ./scripts/validate-email