Skip to content
This repository was archived by the owner on Dec 14, 2023. It is now read-only.

Commit aa5cb2b

Browse files
authored
Replace package-lock with yarn only (#243)
* Replace package-lock with yarn only * Fix the "skip ci" flag for CCI
1 parent 0952bec commit aa5cb2b

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

.circleci/config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,15 @@ jobs:
139139
git config --global user.email "[email protected]"
140140
git config --global user.name "CoderDojo Foundation"
141141
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
142+
yarn config set version-git-message "[skip ci] Update to %s" # Skip CI or infinite loop
143+
yarn config set version-git-tag false # No significations in tags
144+
yarn config set version-commit-hooks false # We're after the tests
142145
- run:
143146
name: publish to git and npm
144147
command: |
145-
npm version patch -m "[skip ci] Update to %s"
148+
yarn version --patch
146149
git push
147-
npm publish
150+
yarn publish --non-interactive
148151
- run: {
149152
"name": "update_platform",
150153
"command": "sh .circleci/update_platform.sh $(node build/get-version.js) master"

package-lock.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)