Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (24 sloc) 731 Bytes
version: 2
jobs:
build:
working_directory: ~/my-project
docker:
- image: circleci/node:10-browsers
steps:
- checkout
- restore_cache:
key: my-project-{{ .Branch }}-{{ checksum "package-lock.json" }}
- run: npm install
- save_cache:
key: my-project-{{ .Branch }}-{{ checksum "package-lock.json" }}
paths:
- "node_modules"
- run:
name: Lint
command: npm run ng lint
- run:
name: Unit Test
command: npm run ng test -- --watch=false --code-coverage
- run:
name: Coveralls
command: cat ./coverage/angular-hello-world/lcov.info | ./node_modules/coveralls/bin/coveralls.js
You can’t perform that action at this time.