Skip to content

Instantly share code, notes, and snippets.

View rishitells's full-sized avatar

Rishabh Sharma rishitells

View GitHub Profile
@rishitells
rishitells / Jest_GitLab_CI.md
Last active March 30, 2024 09:34
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: