refactor(starter): upgrade and move to typescript

This commit is contained in:
Alexander Shelepenok
2022-04-16 14:25:55 +00:00
parent 67ebabbaac
commit 50a99f57f7
156 changed files with 5350 additions and 7173 deletions

View File

@@ -12,12 +12,12 @@ jobs:
- checkout
- restore_cache:
keys:
- dependencies-{{ checksum "yarn.lock" }}
- run: yarn install --frozen-lockfile
- dependencies-{{ checksum "package-lock.json" }}
- run: npm ci
- save_cache:
paths:
- node_modules
key: dependencies-{{ checksum "yarn.lock" }}
key: dependencies-{{ checksum "package-lock.json" }}
lint:
<<: *defaults
@@ -25,8 +25,8 @@ jobs:
- checkout
- restore_cache:
keys:
- dependencies-{{ checksum "yarn.lock" }}
- run: yarn lint
- dependencies-{{ checksum "package-lock.json" }}
- run: npm run lint
test:
<<: *defaults
@@ -34,8 +34,8 @@ jobs:
- checkout
- restore_cache:
keys:
- dependencies-{{ checksum "yarn.lock" }}
- run: yarn test --runInBand --no-cache
- dependencies-{{ checksum "package-lock.json" }}
- run: npm run test --runInBand --no-cache
coverage:
<<: *defaults
@@ -43,8 +43,8 @@ jobs:
- checkout
- restore_cache:
keys:
- dependencies-{{ checksum "yarn.lock" }}
- run: yarn test:coverage --runInBand --no-cache
- dependencies-{{ checksum "package-lock.json" }}
- run: npm run test:coverage --runInBand --no-cache
- save_cache:
key: coverage-{{ .Environment.CIRCLE_SHA1 }}
paths:
@@ -56,13 +56,12 @@ jobs:
- checkout
- restore_cache:
keys:
- dependencies-{{ checksum "yarn.lock" }}
- dependencies-{{ checksum "package-lock.json" }}
- restore_cache:
keys:
- coverage-{{ .Environment.CIRCLE_SHA1 }}
- run: yarn global add codecov
- run: yarn codecov
- run: npx codecov
workflows:
version: 2
test: