* Update dependencies and remove outdated ones * Add package lock file * Add minified file * Karma now uses headless browser to run QUnit * Add to readme that node and npm install is required * Update license info * Add lint-new but don't use it in CI yet
30 lines
721 B
YAML
30 lines
721 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
working_directory: ~/impress.js
|
|
docker:
|
|
- image: circleci/node:current-browsers
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
name: update-npm
|
|
command: 'sudo npm install -g npm@latest'
|
|
- restore_cache:
|
|
key: dependency-cache-{{ checksum "package.json" }}
|
|
- run:
|
|
name: install-npm
|
|
command: npm install
|
|
- save_cache:
|
|
key: dependency-cache-{{ checksum "package.json" }}
|
|
paths:
|
|
- ./node_modules
|
|
- run:
|
|
name: build
|
|
command: npm run build
|
|
- run:
|
|
name: lint
|
|
command: npm run lint
|
|
- run:
|
|
name: test
|
|
command: npm test
|