Hi, from this seed’s doc(<https://seed.run/docs/ad...
# seed
m
Hi, from this seed’s doc(https://seed.run/docs/adding-a-build-spec.html#build-steps), it says the
node_modules
will be restored automatically in
after_deploy
, but it seems not. I still need to run
yarn install
and it takes almost 2 mins to finish every time. Is that because I missed any setup?
This is my
after_deploy
script:
Copy code
after_deploy:
  - n 16.15.1
  - yarn && yarn cypress:run:prod
f
Hey @Max Liu, the doc seems to be out-dated. Node modules are not restored in the after_deploy step.
Sorry about the confusion, will update the doc.
That said, we have something planned for the next gen build machines that would persist node_modules in after_deploy.
Will keep you posted on that.
m
no worries at all. Awesome! Thank you so much for the updates!