Skip to content

Commit d6db22a

Browse files
authored
Merge pull request #36 from Testlio/feature/use-yarn
Feature - use yarn
2 parents 2642e20 + 40976ac commit d6db22a

File tree

3 files changed

+1239
-5
lines changed

3 files changed

+1239
-5
lines changed

.circleci/config.yml

+12-4
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,23 @@ jobs:
5151
- checkout
5252
- restore_cache:
5353
keys:
54-
- dependencies-cache-{{ checksum "package.json" }}
54+
- dependencies-cache-{{ checksum "yarn.lock" }}
5555
- dependencies-cache-
56+
- run:
57+
name: Install yarn
58+
command: >
59+
sudo apt-get install apt-transport-https &&
60+
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - &&
61+
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list &&
62+
sudo apt-get update &&
63+
sudo apt-get install --no-install-recommends yarn
5664
- run:
5765
name: Install dependencies
58-
command: npm install --no-save
66+
command: yarn
5967
- save_cache:
60-
key: dependency-cache-{{ checksum "package.json" }}
68+
key: dependency-cache-{{ checksum "yarn.lock" }}
6169
paths:
62-
- node_modules
70+
- ~/.cache/yarn
6371
- persist_to_workspace:
6472
root: .
6573
paths: node_modules

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lambda-foundation",
3-
"version": "3.0.0",
3+
"version": "3.0.2",
44
"description": "Common helpers for Lambda backed microservices",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)