Merge install and build together

pull/1049/head
brecert 2021-09-14 01:30:52 -04:00
parent 0be8c625e4
commit ebe4b813ac
1 changed files with 2 additions and 6 deletions

View File

@ -22,15 +22,11 @@ runs:
node-version: 15 node-version: 15
cache: "yarn" cache: "yarn"
- name: install dependencies - name: Install Dependencies and Build
shell: bash -l {0} shell: bash -l {0}
run: yarn install
- name: build
env: env:
BUILD_FOLDER: ${{ inputs.folder }} BUILD_FOLDER: ${{ inputs.folder }}
BASE: ${{ inputs.base }} BASE: ${{ inputs.base }}
shell: bash -l {0}
run: | run: |
cd "$BUILD_FOLDER" yarn install
yarn build --base "$BASE" yarn build --base "$BASE"