Skip to content
This repository was archived by the owner on Oct 1, 2020. It is now read-only.

Commit a55d8f7

Browse files
chore: Fix Circle Setup (#71)
* try using docker image and no orb * jobs -> steps * put back node orb * add cypress orb * add executor * whoops * wow * update config * use Node 12 executor * use npm test Co-authored-by: Gleb Bahmutov <gleb.bahmutov@gmail.com>
1 parent 9ea56bc commit a55d8f7

File tree

1 file changed

+19
-31
lines changed

1 file changed

+19
-31
lines changed

circle.yml

+19-31
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,23 @@
11
version: 2.1
2-
32
orbs:
4-
node: circleci/node@1.1
5-
cypress: cypress-io/cypress@1.19.1
6-
7-
jobs:
3+
cypress: cypress-io/cypress@1
4+
workflows:
85
build:
9-
executor:
10-
name: node/default
11-
tag: '12'
12-
13-
steps:
14-
- checkout
15-
- node/with-cache:
16-
steps:
17-
- run:
18-
name: Yarn install
19-
command: yarn install --frozen-lockfile
20-
- run:
21-
name: Lint code
22-
command: npm run lint
23-
- run:
24-
name: Cypress Verfiy
25-
command: $(npm bin)/cypress verify
26-
- run:
27-
name: Run tests
28-
command: npm test
29-
- run: yarn add -D webpack@latest webpack-cli@latest
30-
- run:
31-
name: Run tests w/ webpack@latest
6+
jobs:
7+
- cypress/run:
8+
executor: cypress/base-12-14-0
9+
yarn: true
3210
command: npm test
33-
- run:
34-
name: Semantic release
35-
command: npm run semantic-release || true
11+
post-steps:
12+
- run:
13+
name: Lint code 🧹
14+
command: npm run lint
15+
- run:
16+
name: Install latest webpack 📦
17+
command: yarn add -D webpack@latest webpack-cli@latest
18+
- run:
19+
name: Run tests w/ webpack@latest 🧪
20+
command: npm test
21+
- run:
22+
name: Semantic release 🚀
23+
command: npm run semantic-release

0 commit comments

Comments
 (0)