raphamorim/react-ape

fix publish GH workflow: publish and tests should not run tests twice

Open

#126 aberto em 30 de jun. de 2022

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (47 forks)github user discovery
good first issue

Métricas do repositório

Stars
 (1.574 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Currently the Publish workflow runs together with test, executing the same yarn ci (running tests again) it shouldn't be happening. Should wait for the test workflow check and the follow up with publish.

There's few approaches that could fix it:

  • check if the tests have passed
  • move the publish workflow to tests as a step but only runs if commit message have [publish]

Guia do colaborador