mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
* giving new CI validation script a test run * tidy up CI script in prep for PR * seeing if validate runs fine with a `npm ci` install * using newer/faster node * does this version have new NPM? * does node 9 have npm 5.7? * seeing how forcing 5.7 compares on speed * trying node 8.9 again * sticking with 8.9, but ditching `npm ci` for now * trying just 8 so I can see if it gets LTS updates * benign commit to trigger a build ahead of PR
33 lines
908 B
YAML
33 lines
908 B
YAML
version: 2
|
|
jobs:
|
|
build:
|
|
working_directory: ~/ionic/
|
|
docker:
|
|
- image: node:8
|
|
branches:
|
|
# ignore:
|
|
# - core
|
|
steps:
|
|
- checkout
|
|
- restore_cache:
|
|
key: node_modules_{{ checksum "package.json" }}
|
|
- run:
|
|
name: Install monorepo node modules
|
|
command: npm i
|
|
- save_cache:
|
|
key: node_modules_{{ checksum "package.json" }}
|
|
paths:
|
|
- ~/ionic/node_modules/
|
|
- restore_cache:
|
|
key: node_modules_{{ checksum "packages/core/package.json" }}
|
|
- run:
|
|
name: Install core node modules
|
|
command: npm --prefix packages/core/ i
|
|
- save_cache:
|
|
key: node_modules_{{ checksum "packages/core/package.json" }}
|
|
paths:
|
|
- ~/ionic/packages/core/node_modules/
|
|
- run:
|
|
name: Validate Core
|
|
command: npm --prefix packages/core/ run validate
|