Add yarn.lock, update CI services to run yarn

This commit is contained in:
Pavel Djundik 2018-01-19 12:50:08 +02:00
parent 1ce2792fc4
commit f646fbbd4f
4 changed files with 5821 additions and 12 deletions

4
.gitignore vendored
View File

@ -1,5 +1,7 @@
node_modules/
npm-debug.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
package-lock.json
.nyc_output/

View File

@ -10,12 +10,17 @@ matrix:
- node_js: 8 # Version used to deploy to npm registry
env: BUILD_ENV=production
cache:
directories:
- ~/.npm
cache: yarn
before_install:
- yarn global add greenkeeper-lockfile@1
before_script:
- NODE_ENV=$BUILD_ENV npm run build
- greenkeeper-lockfile-update
- NODE_ENV=$BUILD_ENV yarn build
after_script:
- greenkeeper-lockfile-upload
notifications:
email:
@ -49,5 +54,5 @@ deploy:
# If the current release is a stable release, remove potential pre-release tag
after_deploy: |
if [ "$(npm_dist_tag)" == "latest" ]; then
npm dist-tag rm thelounge next || true
yarn tag remove thelounge next || true
fi

View File

@ -15,19 +15,19 @@ environment:
install:
- ps: Install-Product node $env:nodejs_version
- appveyor-retry npm install
- npm run build
- npm install mocha-appveyor-reporter
- yarn --frozen-lockfile
- yarn build
- yarn add mocha-appveyor-reporter
- echo --reporter mocha-appveyor-reporter >> test/mocha.opts
test_script:
- node --version
- npm --version
- npm test
- yarn --version
- yarn test
# cache npm modules
cache:
- '%AppData%\npm-cache -> package.json'
- "%LOCALAPPDATA%\\Yarn"
# Don't actually build
build: off

5802
yarn.lock Normal file

File diff suppressed because it is too large Load Diff