diff --git a/.github/actions/setup_env/action.yml b/.github/actions/setup_env/action.yml index 191579e..28a20c6 100644 --- a/.github/actions/setup_env/action.yml +++ b/.github/actions/setup_env/action.yml @@ -30,19 +30,19 @@ runs: cache: 'npm' registry-url: 'https://registry.npmjs.org' - name: npm_install_prod_deps - if: ${{ fromJSON(inputs.use_dev) && fromJSON(inputs.npm_install) }} + if: ${{ fromJSON(inputs.use_dev) && fromJSON(inputs.npm-install) }} run: npm ci --ignore-scripts shell: bash env: NODE_AUTH_TOKEN: ${{ env.NODE_AUTH_TOKEN || inputs.NODE_AUTH_TOKEN }} - name: npm_install_prod_and_dev_deps - if: ${{ !fromJSON(inputs.use_dev) && fromJSON(inputs.npm_install) }} + if: ${{ !fromJSON(inputs.use_dev) && fromJSON(inputs.npm-install) }} run: npm ci --ignore-scripts --omit=dev shell: bash env: NODE_AUTH_TOKEN: ${{ env.NODE_AUTH_TOKEN || inputs.NODE_AUTH_TOKEN }} - name: npm_rebuild - if: ${{ fromJSON(inputs.npm_install) }} + if: ${{ fromJSON(inputs.npm-install) }} run: npm rebuild && npm run prepare --if-present shell: bash env: