mirror of
https://github.com/Redocly/redoc.git
synced 2025-07-14 18:22:31 +03:00
update test wf logic to not run twice for every push
This commit is contained in:
parent
587217e8c6
commit
7a543ebe72
6
.github/workflows/e2e-tests.yml
vendored
6
.github/workflows/e2e-tests.yml
vendored
|
@ -1,6 +1,10 @@
|
||||||
name: E2E Tests
|
name: E2E Tests
|
||||||
|
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-e2e:
|
build-and-e2e:
|
||||||
|
|
6
.github/workflows/unit-tests.yml
vendored
6
.github/workflows/unit-tests.yml
vendored
|
@ -1,6 +1,10 @@
|
||||||
name: Unit Tests
|
name: Unit Tests
|
||||||
|
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-unit:
|
build-and-unit:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user