Skip to content

Instantly share code, notes, and snippets.

@rishitells
rishitells / Jest_GitLab_CI.md
Last active August 27, 2024 07:42
Setting up Jest tests and coverage in GitLab CI

Configuring Jest Tests in GitLab CI

1. Add GitLab CI configuration file in the root

In the root of your project, add .gitlab-ci.yml with the configuration below.

image: node:latest

stages: