pagopa / dx

Devex repository for shared tools and pipelines.
https://pagopa.github.io/dx/docs/
1 stars 0 forks source link

[DEVEX-117] Add js_code_review reusable workflow #13

Closed lucacavallaro closed 6 months ago

lucacavallaro commented 6 months ago

List of changes

  1. Add a new github reusable workflow: js_code_review that runs the code-review script in javascript monorepo. This workflow is configured to cache turbo output and sends (only when is enabled) test coverage reports to https://about.codecov.io/

How to use this workflow

Create a file named code-review.yaml in .github/workflows with the following content

name: Code Review

on:
  workflow_dispatch:
  pull_request:
    types: [opened, synchronize]
    paths:
      - apps/**
      - packages/**

jobs:
  js_code_review:
    uses: pagopa/dx/.github/workflows/js_code_review.yaml@44d30b91731e81d3d5eb03937ee07358d8beb884
    name: Code Review
    secrets: inherit