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

Commit f9c1710

Browse files
committed
just use normal cypress run job
1 parent 9d0b2f4 commit f9c1710

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

circle.yml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,6 @@ 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-
- checkout
15-
- run:
16-
name: Check markdown links ⚓️
17-
command: npm run check:links
18-
195
workflows:
206
build:
217
jobs:
@@ -40,10 +26,22 @@ workflows:
4026
name: Build folder 🏗
4127
command: npm run build
4228

43-
- lint-markdown-links:
29+
- cypress/run:
30+
name: Lint Markdown links
4431
filters:
4532
branches:
4633
only: main
34+
executor: cypress/base-12
35+
requires:
36+
- Install
37+
# notice a trick to avoid re-installing dependencies
38+
# in this job - a do-nothing "install-command" parameter
39+
install-command: echo 'Nothing to install in this job'
40+
# we are not going to use results from this job anywhere else
41+
no-workspace: true
42+
record: false
43+
store_artifacts: true
44+
command: npm run check:links
4745

4846
- cypress/run:
4947
name: Example A11y
@@ -312,6 +310,7 @@ workflows:
312310
requires:
313311
- Install
314312
- Component Tests
313+
- Lint Markdown links
315314
- Example A11y
316315
- Example Babel
317316
- Example Component Folder

0 commit comments

Comments
 (0)