Skip to content

Commit c7841fe

Browse files
author
Christian Stoyanov
authored
Merge pull request #323 from contentful/chore/sdk-2396-update_ci_pipeline
2 parents 05fe8a7 + f538164 commit c7841fe

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.circleci/config.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
version: 2.1
2+
3+
orbs:
4+
vault: contentful/vault@1
5+
26
jobs:
37
test:
48
docker:
@@ -18,14 +22,17 @@ jobs:
1822
- image: cimg/node:16.11
1923
steps:
2024
- checkout
25+
- vault/get-secrets: # Loads vault secrets
26+
template-preset: 'semantic-release-ecosystem'
2127
- run: npm install
2228
- run: npm run build
2329
- run: npm run semantic-release
2430
workflows:
25-
version: 2
2631
build_and_test:
2732
jobs:
2833
- test
2934
- release:
35+
context:
36+
- vault
3037
requires:
3138
- test

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
"prettier:check": "prettier --check '**/*.{jsx,js,ts,tsx}'",
3434
"precommit": "npm run lint",
3535
"tsc": "tsc --noEmit",
36-
"prepush": "npm run test:unit",
37-
"postbuild": "bundlesize"
36+
"prepush": "npm run test:unit && bundlesize"
3837
},
3938
"files": [
4039
"dist",

0 commit comments

Comments
 (0)