diff --git a/.circleci/config.yml b/.circleci/config.yml index a055134..f92fd6a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,14 +1,22 @@ +# TODO should I use yarn as in circleci node example?? version: 2 jobs: build: - working_directory: ~/grasp docker: - image: circleci/node:latest + + working_directory: ~/repo + steps: - checkout - run: sudo npm install -g npm + - restore_cache: - key: dependency-cache-{{ checksum "package.json" }} + keys: + - dependency-cache-{{ checksum "package.json" }} + # fallback to using the latest cache if no exact match is found + - dependency-cache- + - run: npm install - save_cache: key: dependency-cache-{{ checksum "package.json" }} diff --git a/README.md b/README.md index 87029be..cf03fc1 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +Build status: [![CircleCI](https://circleci.com/gh/karlicoss/grasp.svg?style=svg)](https://circleci.com/gh/karlicoss/grasp) + +# TODO add some docs.. + # Chrome Extension Webpack Boilerplate A basic foundation boilerplate for rich Chrome Extensions using [Webpack](https://webpack.github.io/) to help you write modular and modern Javascript code, load CSS easily and [automatic reload the browser on code changes](https://webpack.github.io/docs/webpack-dev-server.html#automatic-refresh). diff --git a/TODO.org b/TODO.org index b18c042..a1d5a78 100644 --- a/TODO.org +++ b/TODO.org @@ -27,7 +27,8 @@ npm run flow * TODO [#B] docs on using -* TODO [#B] circleci? +* DONE [#B] circleci? + CLOSED: [2019-01-06 Sun 13:50] * DONE [#D] nicer manifest? CLOSED: [2019-01-06 Sun 13:43] * TODO [#D] do not minfy for dev