raphamorim/react-ape

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

Ouverte

#126 ouverte le 30 juin 2022

 (0 commentaire) (0 réaction) (0 personne assignée)JavaScript (47 forks)github user discovery
good first issue

Métriques du dépôt

Stars
 (1 574 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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]

Guide contributeur