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

Commit 5ea2b4a

Browse files
committed
chore: add comments to circle file
1 parent 34e1072 commit 5ea2b4a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

circle.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ orbs:
44
workflows:
55
build:
66
jobs:
7+
# install and cache dependencies in this job
8+
# AND build the library once
9+
# then the workspace will be passed to other jobs
710
- cypress/install:
811
name: Install 📦
912
build: npm run transpile
@@ -15,14 +18,22 @@ workflows:
1518
name: Linting code 🧹
1619
command: npm run lint
1720

21+
# the test job automatically attaches the workspace
22+
# created by the install job, so it is ready to test
1823
- cypress/run:
1924
name: Test 🧪
2025
requires:
2126
- Install 📦
27+
# notice a trick to avoid re-installing dependencies
28+
# in this job - a do-nothing "install-command" parameter
2229
install-command: echo 'Nothing to install in this job'
30+
# we are not going to use results from this job anywhere else
2331
no-workspace: true
2432
record: false
2533

34+
# this job attaches the workspace left by the install job
35+
# so it is ready to run Cypress tests
36+
# only we will run semantic release script instead
2637
- cypress/run:
2738
name: NPM release 🚀
2839
# we need newer Node for semantic release

0 commit comments

Comments
 (0)