Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Commit 4d93293

Browse files
chore: run markdown links checks only on main (#404)
1 parent 46c4ebe commit 4d93293

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

circle.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@ version: 2.1
22
orbs:
33
cypress: cypress-io/cypress@1.26.0
44

5+
jobs:
6+
lint-markdown-links:
7+
description: Lint markdown links
8+
docker:
9+
- image: circleci/node:lts
10+
environment:
11+
## this enables colors in the output
12+
TERM: xterm
13+
steps:
14+
- run:
15+
name: Check markdown links ⚓️
16+
command: npm run check:links
17+
518
workflows:
619
build:
720
jobs:
@@ -22,13 +35,15 @@ workflows:
2235
- run:
2336
name: Stop exclusive tests 1️⃣
2437
command: npm run stop-only
25-
- run:
26-
name: Check markdown links ⚓️
27-
command: npm run check:links
2838
- run:
2939
name: Build folder 🏗
3040
command: npm run build
3141

42+
- lint-markdown-links:
43+
filters:
44+
branches:
45+
only: main
46+
3247
- cypress/run:
3348
name: Example A11y
3449
requires:

0 commit comments

Comments
 (0)