Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects

React project

This is a simple project that demonstrates how to use R2Devops.io to build the full CI/CD pipeline for a React project.

  • Templates used:
    • NPM install: Install dependencies listed in package.json and expose node_modules as cache to other jobs
    • Gitleaks: A secret detection job, using gitleaks to alert on secrets (passwords, api keys…) pushed in your code
    • NPM lint: Run the predefined lint script in the package.json which will check your code quality with eslint
    • NPM test: Run the predefined test script in the package.json which will execute test file with Jest
    • Gitleaks: check for secrets leaked in repository
    • NPM build: This job will build the project using the script from the package.json file
    • Pages: Deploy the project on a static website using GitLab Pages
  • CI configuration: .gitlab-ci.yml
  • Pipelines: CI/CD page
  • Results: