mirror of
https://github.com/kremalicious/ipfs.git
synced 2024-11-25 03:10:52 +01:00
24 lines
499 B
YAML
24 lines
499 B
YAML
dist: xenial
|
|
sudo: required
|
|
language: node_js
|
|
node_js: node
|
|
|
|
cache:
|
|
npm: true
|
|
directories:
|
|
- .next/cache
|
|
|
|
before_install:
|
|
# Fixes an issue where the max file watch count is exceeded, triggering ENOSPC
|
|
# https://stackoverflow.com/questions/22475849/node-js-error-enospc#32600959
|
|
- echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
|
|
|
|
# will run `npm install` automatically here
|
|
|
|
script:
|
|
- npm test
|
|
- npm run build
|
|
|
|
notifications:
|
|
email: false
|