microsoft / design-to-code

A system of development tools, and utilities used à la carte or as a suite to build enterprise-grade websites and applications.
MIT License
24 stars 6 forks source link

Create ci-fast-tooling.yml #85

Closed Ibrahimmaga closed 3 years ago

Ibrahimmaga commented 3 years ago

Pull Request

📖 Description

This PR is for continuous integration for fast tooling projects on the release branch. The CI is using node version 16 and NPM 7 We are adding the cache action to speed up the build we are installing all dependencies before the build The build steps include npm install, npm run build --if-present, npm run test

🎫 Issues

creating CICD pipeline for node js project

👩‍💻 Reviewer Notes

✅ Checklist

General

⏭ Next Steps

awentzel commented 3 years ago

@Ibrahimmaga please update this PR description, title, details to explicitly describe what you are implementing and what PR this is associated with if any such that closing this or will also close that for the task you're implementing when they are complete.

Ibrahimmaga commented 3 years ago

There are unresolved comments/questions. Please address these. Has this been tested and does the caching work? Feels like caching shouldn't really be necessary unless we're having performance issues and at this point, we have no baseline to know.

Jobs on GitHub-hosted runners start in a clean virtual environment and must download dependencies each time, causing increased network utilization, longer runtime, and increased cost. To help speed up the time it takes to recreate these files, GitHub can cache dependencies you frequently use in workflows.