Skip to content

Commit 19ab7ac

Browse files
authored
ci: fixing semantic release (#8)
1 parent 2eac09c commit 19ab7ac

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.circleci/config.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ jobs:
3232
name: Run tests
3333
command: npm run test
3434
lint-commits:
35-
docker:
36-
- image: circleci/node:12
35+
executor: node
3736
steps:
3837
- *setup-npm
3938
- checkout
@@ -42,15 +41,10 @@ jobs:
4241
name: Linting commits
4342
command: npx commitlint --to $(git rev-parse HEAD) -V
4443
semantic-release:
45-
docker:
46-
- image: circleci/node:12
44+
executor: node
4745
steps:
4846
- checkout
49-
- run:
50-
name: Setup NPM
51-
command: |-
52-
echo $'@contentful:registry=https://registry.npmjs.org/
53-
//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> ~/.npmrc
47+
- *setup-npm
5448
- run:
5549
name: npm ci
5650
command: npm ci

0 commit comments

Comments
 (0)