Skip to content

Commit a70c063

Browse files
LinusUjimthedev
authored andcommitted
feat: Drop support for Node.js <6.x, update dependencies (#566)
BREAKING CHANGE: Older versions of Node.js are no longer supported Includes most updates with the exception of semantic-release which breaks on windows. To be investigated in a later release.
1 parent 0d76887 commit a70c063

38 files changed

+4861
-3503
lines changed

.eslintrc

-6
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@
44
"brace-style": 0,
55
"comma-dangle": 0,
66
"indent": 0,
7-
"no-duplicate-imports": 0,
8-
"no-multiple-empty-lines": 0,
9-
"no-path-concat": 0,
10-
"no-throw-literal": 0,
11-
"no-trailing-spaces": 0,
12-
"no-unused-vars": 0,
137
"operator-linebreak": 0,
148
"padded-blocks": 0,
159
"quotes": 0,

.travis.yml

+3-16
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,23 @@
11
sudo: false
22
language: node_js
3-
cache:
4-
directories:
5-
- node_modules
63
branches:
7-
except:
8-
- /^v\d+\.\d+\.\d+$/
4+
only:
5+
- master
96
notifications:
107
email: false
118
node_js:
129
- '10'
13-
- '9'
14-
- '8'
15-
- '7'
16-
- '6'
17-
- '5'
18-
- '4'
1910
before_install:
2011
- git config --global user.name "TravisCI"
2112
- git config --global user.email "[email protected]"
22-
- npm i -g npm@^2.0.0
2313
before_script:
24-
- npm prune
2514
- git version
2615
script:
27-
# Only run linting on Node.js 4.x and up
28-
- if [ $(node -pe 'process.version.match(/v(\d+)\./)[1] >= 4') == 'true' ]; then npm run lint; fi
16+
- npm run lint
2917
- npm run test
3018
- npm run check-coverage
3119
after_success:
3220
- npm run report-coverage
33-
- npm run test:windows
3421
- npm run semantic-release
3522
env:
3623
global:

appveyor.yml

-29
This file was deleted.

jobs/build.yml

+18
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,27 @@ parameters:
88
jobs:
99
- job: ${{ parameters.name }}
1010
pool: ${{ parameters.pool }}
11+
strategy:
12+
maxParallel: 3
13+
matrix:
14+
node-10:
15+
node_version: ^10.10.0
16+
node-8:
17+
node_version: ^8.12.0
18+
node-6:
19+
node_version: ^6.14.4
1120
steps:
21+
- task: NodeTool@0
22+
displayName: " Install Node.js"
23+
inputs:
24+
versionSpec: $(node_version)
1225
- script: git config --global user.email "[email protected]"
1326
- script: git config --global user.name "Example Git User"
1427
- script: npm install
1528
- script: npm run build
1629
- script: npm test
30+
- task: PublishBuildArtifacts@1
31+
displayName: Publish packages
32+
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))
33+
inputs:
34+
pathtoPublish: '$(Build.ArtifactStagingDirectory)'

0 commit comments

Comments
 (0)