mirror of
https://github.com/nasa/openmct.git
synced 2024-12-19 13:17:53 +00:00
0d53898af9
* Move to webpack build * Use webpack for building openmct. Move SCSS to one folder and load all core css up front. Remove bower, begin removing gulp in favor of npm run. * Uses eslint instead of jshint and jscs. Merge style checking rules into .eshintrc.js, carrying over core parts of crockford style and our adaptations. Current code base fails to pass the linter, want to separate linter changes from fixes to linting rules. * Support for Vue SFC with example * Remove outdated examples * Use HTML loader for html (supports relative imports of resources e.g. images) and raw-loader for when javascript must be loaded as text.
37 lines
899 B
YAML
37 lines
899 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
docker:
|
|
- image: circleci/node:8-browsers
|
|
environment:
|
|
CHROME_BIN: "/usr/bin/google-chrome"
|
|
steps:
|
|
- checkout
|
|
- run:
|
|
name: Update npm
|
|
command: 'sudo npm install -g npm@latest'
|
|
- restore_cache:
|
|
key: dependency-cache-{{ checksum "package.json" }}
|
|
- run:
|
|
name: Installing dependencies (npm install)
|
|
command: npm install
|
|
- save_cache:
|
|
key: dependency-cache-{{ checksum "package.json" }}
|
|
paths:
|
|
- node_modules
|
|
- run:
|
|
name: npm run test
|
|
command: npm run test
|
|
- run:
|
|
name: npm run lint
|
|
command: npm run lint
|
|
- store_artifacts:
|
|
path: dist
|
|
prefix: dist
|
|
|
|
workflows:
|
|
version: 2
|
|
test:
|
|
jobs:
|
|
- build
|