From 450789fafef7dc5124860128e4e6901fceb8964c Mon Sep 17 00:00:00 2001 From: brecert Date: Tue, 14 Sep 2021 01:30:52 -0400 Subject: [PATCH] Merge install and build together --- .github/actions/build/action.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 92cb62be..b86ee3aa 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -22,15 +22,11 @@ runs: node-version: 15 cache: "yarn" - - name: install dependencies + - name: Install Dependencies and Build shell: bash -l {0} - run: yarn install - - - name: build env: BUILD_FOLDER: ${{ inputs.folder }} BASE: ${{ inputs.base }} - shell: bash -l {0} run: | - cd "$BUILD_FOLDER" + yarn install yarn build --base "$BASE"