scratch-storage 2.0.2 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,70 @@
1
+
2
+ version: 2.1
3
+ orbs:
4
+ commitlint: conventional-changelog/commitlint@1.0.0
5
+ node: circleci/node@5.1
6
+
7
+ jobs:
8
+ build-and-test:
9
+ executor:
10
+ name: node/default
11
+ resource_class: medium
12
+ tag: '16.19'
13
+ steps:
14
+ - checkout
15
+ - node/install-packages
16
+ - run: npm run build
17
+ - run: npm run test
18
+ - persist_to_workspace:
19
+ root: ~/project
20
+ paths:
21
+ - .
22
+ deploy:
23
+ executor:
24
+ name: node/default
25
+ resource_class: medium
26
+ tag: '16.19'
27
+ steps:
28
+ - attach_workspace:
29
+ at: ~/project
30
+ - run: npm run semantic-release
31
+
32
+ workflows:
33
+ commitlint:
34
+ when:
35
+ not:
36
+ or:
37
+ - equal: [ master, <<pipeline.git.branch>> ]
38
+ - equal: [ develop, <<pipeline.git.branch>> ]
39
+ - matches: { pattern: "^hotfix.*", value: <<pipeline.git.branch>> }
40
+ - matches: { pattern: "^release.*", value: <<pipeline.git.branch>> }
41
+ jobs:
42
+ - commitlint/lint:
43
+ target-branch: develop
44
+
45
+ build-and-test-workflow:
46
+ when:
47
+ not:
48
+ or:
49
+ - equal: [ master, <<pipeline.git.branch>> ]
50
+ - equal: [ develop, <<pipeline.git.branch>> ]
51
+ - matches: { pattern: "^hotfix.*", value: <<pipeline.git.branch>> }
52
+ - matches: { pattern: "^release.*", value: <<pipeline.git.branch>> }
53
+ jobs:
54
+ - build-and-test
55
+
56
+ deploy-workflow:
57
+ when:
58
+ or:
59
+ - equal: [ master, <<pipeline.git.branch>> ]
60
+ - equal: [ develop, <<pipeline.git.branch>> ]
61
+ - matches: { pattern: "^hotfix.*", value: <<pipeline.git.branch>> }
62
+ - matches: { pattern: "^release.*", value: <<pipeline.git.branch>> }
63
+
64
+ jobs:
65
+ - build-and-test
66
+ - deploy:
67
+ context:
68
+ - scratch-npm-creds
69
+ requires:
70
+ - build-and-test
package/README.md CHANGED
@@ -1,7 +1,8 @@
1
1
  ## scratch-storage
2
2
  #### Scratch Storage is a library for loading and storing project and asset files for Scratch 3.0
3
3
 
4
- [![Build Status](https://travis-ci.org/LLK/scratch-storage.svg?branch=develop)](https://travis-ci.org/LLK/scratch-storage)
4
+ [![CircleCI](https://circleci.com/gh/LLK/scratch-storage/tree/develop.svg?style=shield&circle-token=171bbb6a82280e98afbfcedd8aa90b95b13b5de3)](https://circleci.com/gh/LLK/scratch-storage?branch=develop)
5
+
5
6
  [![Coverage Status](https://coveralls.io/repos/github/LLK/scratch-storage/badge.svg?branch=develop)](https://coveralls.io/github/LLK/scratch-storage?branch=develop)
6
7
  [![Greenkeeper badge](https://badges.greenkeeper.io/LLK/scratch-storage.svg)](https://greenkeeper.io/)
7
8