diff --git a/.github/actions/build/action.yml b/.github/actions/build/action.yml index 2993627d..8212824b 100644 --- a/.github/actions/build/action.yml +++ b/.github/actions/build/action.yml @@ -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"