Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore(deps): update webpack-defaults
  • Loading branch information
alexander-akait committed Dec 12, 2018
commit a02090e3094ef4d66c7e47098977ad2cfab0cbd6
50 changes: 25 additions & 25 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,28 @@ jobs:
key: dependency-cache-{{ checksum "package-lock.json" }}
paths:
- ./node_modules
analysis:
docker:
- image: webpackcontrib/circleci-node-base:latest
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Install Latest NPM.
command: npm i -g npm@latest
- run:
name: NPM Install.
command: npm ci
- run:
name: Run linting.
command: npm run lint
- run:
name: Run NPM Audit.
command: npm run security
- run:
name: Validate Commit Messages.
command: npm run ci:lint:commits
node6-latest:
docker:
- image: webpackcontrib/circleci-node6:latest
Expand Down Expand Up @@ -78,32 +100,10 @@ jobs:
name: Submit coverage data to codecov.
command: bash <(curl -s https://codecov.io/bash)
when: on_success
node10-canary:
node6-canary:
docker:
- image: webpackcontrib/circleci-node10:latest
<<: *canary_tests
analysis:
docker:
- image: webpackcontrib/circleci-node-base:latest
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Install Latest NPM.
command: npm i -g npm@latest
- run:
name: NPM Install.
command: npm ci
- run:
name: Run linting.
command: npm run lint
- run:
name: Run NPM Audit.
command: npm run security
- run:
name: Validate Commit Messages.
command: npm run ci:lint:commits

workflows:
version: 2
Expand Down Expand Up @@ -136,10 +136,10 @@ workflows:
filters:
tags:
only: /.*/
- node10-canary:
- node6-canary:
requires:
- analysis
- node6-latest
filters:
tags:
only: /.*/
only: /.*/
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
insert_final_newline = false
insert_final_newline = true
trim_trailing_whitespace = false
13 changes: 6 additions & 7 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ cache:
- '%APPDATA%\npm-cache'
environment:
matrix:
- nodejs_version: '11'
- nodejs_version: '6'
webpack_version: latest
job_part: test
- nodejs_version: '10'
- nodejs_version: '8'
webpack_version: latest
job_part: test
- nodejs_version: '8'
- nodejs_version: '10'
webpack_version: latest
job_part: test
- nodejs_version: '6'
- nodejs_version: '11'
webpack_version: latest
job_part: test
- nodejs_version: '6'
webpack_version: latest
webpack_version: next
job_part: next
build: 'off'
matrix:
Expand All @@ -35,8 +35,7 @@ install:
before_test:
- cmd: npm install webpack@%webpack_version%
test_script:
- node --version
- node --version
- npm --version
- cmd: FOR /F %%I in ('compver --name webpack --gte %webpack_version% --lt latest') do SET COMPARED_VERSION_RESULT=%%I
- cmd: IF %COMPARED_VERSION_RESULT% NEQ -1 (npm run ci:test) ELSE (ECHO "Next is older than Latest - Skipping Canary Suite")
- cmd: IF %COMPARED_VERSION_RESULT% NEQ -1 (npm run ci:%job_part%) ELSE (ECHO "Next is older than Latest - Skipping Canary Suite")
Loading