forked from edkf/framer-bridge-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
39 lines (33 loc) · 729 Bytes
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
- image: circleci/node:10
working_directory: ~/repo
steps:
- checkout
- run: yarn
- run: npx framer-cli build design-system.framerfx
publish:
docker:
- image: circleci/node:10
working_directory: ~/repo
steps:
- checkout
- run: yarn
- run: npx framer-cli publish design-system.framerfx --yes
workflows:
version: 2
test-and-publish:
jobs:
- build
- publish:
requires:
- build
filters:
branches:
only: master