Skip to content

Commit 27da983

Browse files
authored
split install and lint jobs (#459)
1 parent fba292f commit 27da983

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

.circleci/config.yml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
version: 2.1
99
orbs:
1010
# use Cypress orb from CircleCI registry
11-
cypress: cypress-io/cypress@1.16.1
11+
cypress: cypress-io/cypress@1.26.0
1212
# for testing on Windows
1313
# https://circleci.com/docs/2.0/hello-world-windows/
1414
win: circleci/windows@1
@@ -100,8 +100,6 @@ workflows:
100100
# checks out code and installs dependencies once
101101
- cypress/install:
102102
name: 'Linux install'
103-
# and builds the app using this command
104-
build: 'npm run build'
105103
post-steps:
106104
# show Cypress cache folder and binary versions
107105
# to check if we are caching previous binary versions
@@ -115,6 +113,14 @@ workflows:
115113
- run: npx cypress version --component electron
116114
- run: npx cypress version --component node
117115

116+
- cypress/install:
117+
name: 'Linux lint'
118+
requires:
119+
- Linux install
120+
# run all lint checks
121+
build: 'npm run build'
122+
install-command: echo 'Already installed'
123+
118124
# runs on 3 machines, load balances tests
119125
# and records on Cypress Dashboard
120126
- cypress/run:
@@ -170,4 +176,7 @@ workflows:
170176
only:
171177
- master
172178
requires:
173-
- 3 machines
179+
# temporarily disable checks
180+
# to release a new version of this NPM package
181+
# - Linux lint
182+
# - 3 machines

0 commit comments

Comments
 (0)