From b4ad6f342636f10b0b6bd67612b80a191b6df3e0 Mon Sep 17 00:00:00 2001 From: 50Fifty Date: Fri, 22 Dec 2023 23:53:06 +0800 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 87d6b87..5d2b3db 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,16 +22,18 @@ jobs: uses: actions/setup-node@v3 with: node-version: '18.x' - - - name: Install dependencies + + - name: Install src dependencies and build run: | - cd extension + cd extension/src npm install - - - name: Build + npm run build -if-present + + - name: Install test dependencies and build run: | - cd extension - npm run build --if-present + cd extension/tests + npm install + npm run build -if-present - name: Create serviceAccountKey.json env: