facing issue in node-module cache setup (OD-2177)
Sagar Bud opened 1 year ago

Hello @robin

I have referred the below URL to setup node-module cache for CI/CD. But there is following 2 difference which i am using.

  1. I am using package.json file instead of package-lock.json in generate package checksum stage. is it fine if i am using this file?
  2. I can see that export CI=TRUE command is using after npm install command but i am using npm install command in dockerfile not in pipeline file(.onedev-buildspec.yaml) so how where we can place the command?

Can you please look into it?

Thank you Sagar

  • Robin Shen commented 1 year ago

    It depends on your own situation. OneDev uses CI=true to prevent test commands from prompting for questions.

  • Robin Shen changed state to 'Closed' 1 year ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2177
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover