forked from abner/for-legacy-web
Fix shell not being included for build action
This commit is contained in:
13
.github/actions/build/action.yml
vendored
13
.github/actions/build/action.yml
vendored
@@ -13,6 +13,10 @@ inputs:
|
||||
required: true
|
||||
default: .
|
||||
|
||||
env:
|
||||
BUILD_FOLDER: ${{ inputs.folder }}
|
||||
BASE: ${{ inputs.base }}
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
@@ -22,13 +26,12 @@ runs:
|
||||
node-version: 15
|
||||
cache: "yarn"
|
||||
|
||||
- run: yarn install
|
||||
# - run: yarn check
|
||||
- name: install dependencies
|
||||
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 build --base "$BASE"
|
||||
|
||||
Reference in New Issue
Block a user