Skip to content

Commit 23041bb

Browse files
committed
ci: proper aliases
1 parent b00b4ed commit 23041bb

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.circleci/config.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
version: 2
22

33
aliases:
4-
- &dependencies
5-
- checkout
6-
- run: node --version > node_version
7-
- restore_cache:
8-
keys:
9-
- yarn-packages-{{ checksum "node_version" }}-{{ checksum "yarn.lock" }}
10-
- run: yarn install --frozen-lockfile
11-
- save_cache:
12-
key: yarn-packages-{{ checksum "node_version" }}-{{ checksum "yarn.lock" }}
13-
paths:
14-
- ~/.cache/yarn
4+
- dependencies: &dependencies
5+
- checkout
6+
- run: node --version > node_version
7+
- restore_cache:
8+
keys:
9+
- yarn-packages-{{ checksum "node_version" }}-{{ checksum "yarn.lock" }}
10+
- run: yarn install --frozen-lockfile
11+
- save_cache:
12+
key: yarn-packages-{{ checksum "node_version" }}-{{ checksum "yarn.lock" }}
13+
paths:
14+
- ~/.cache/yarn
1515

1616
jobs:
1717
Tests under Node.js 8:
@@ -36,7 +36,7 @@ jobs:
3636
command: |
3737
git config --global user.email [email protected]
3838
git config --global user.name Deployment Bot
39-
git remote set-url origin "https://${GH_TOKEN}@github.com/nodkz/mongodb-memory-server.git" > /dev/null 2>&1
39+
git remote set-url origin "https://github.com/nodkz/mongodb-memory-server.git" > /dev/null 2>&1
4040
git checkout master
4141
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" >> $HOME/.npmrc 2> /dev/null
4242
- run: yarn release

0 commit comments

Comments
 (0)