Skip to content

Separate the change of directory from npm/yarn commands #1

@Quetzacoalt91

Description

@Quetzacoalt91

$1 --prefix $2/ install --production
$1 --prefix $2/ run build

As you allow to use another folder by setting the path parameter, what about using this code to change directory first (https://github.com/elstudio/actions-js-build/blob/master/build/entrypoint.sh#L15-L19), then use npm install & npm run build for all cases?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions