Skip to content

use npm ci #90

Description

@bobaaaaa

npm/install ::
cd $(WORK_DIR) && npm install

Für das prod build würde ich euch npm ci anstatt npm install empfehlen. Damit werden nicht die devDependencies installiert + der make Task ist schneller. Die lamda wird dadurch kleiner. Aber wichtig: nur für das finale prod build. für lint+test etc. braucht ihr die devDependencies

https://docs.npmjs.com/cli/v8/commands/npm-ci

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions