forked from abner/for-legacy-web
Merge install and build together
parent
785badae6e
commit
450789fafe
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue