mirror of
https://gitea.invidious.io/iv-org/videojs-quality-selector.git
synced 2024-08-15 00:43:13 +00:00
82bce6bf3d
- All the dev dependencies were updates in package.json. - prepublish was replaced by prepare to fix "warn prepublish-on-install As of npm@5, `prepublish` scripts are deprecated" & "warn prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only." - node-sass was added in package.json and a require('node-sass') was added to Gruntfile.js since the new version of grunt-sass requires it (see: https://github.com/sindresorhus/grunt-sass/releases/tag/v3.0.0)
17 lines
370 B
YAML
17 lines
370 B
YAML
language: node_js
|
|
node_js:
|
|
- "node" # Latest node version
|
|
- "lts/*" # Latest LTS version
|
|
- "10"
|
|
- "8"
|
|
- "8.10"
|
|
|
|
before_install: if [[ `npm -v` != 6* ]]; then npm i -g npm@6.4.1; fi
|
|
|
|
script:
|
|
- grunt standards
|
|
- npm test
|
|
|
|
# For code coverage:
|
|
after_success:
|
|
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
|