Passing/Using artifact installs (e.g. npm installs) between jobs #106345
Replies: 1 comment
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
In a workflow, is it possible to have one job be the env setup step, one job the install step, and then use those results (i.e. use the
node_modules
directory created from thenpm install
run in that job) in the successive job?I've been toying around with this and it doesn't seem to work for me. If someone can point out a simple "no", or show me the missing step that'd be great! In my example (below) I get "cannot find node/npm" in the install step. As a workaround I've shoved the
setup
job and theinstall
job together, but then any job after that complains of not being able to find dependencies.What I've tried:
Beta Was this translation helpful? Give feedback.
All reactions