mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
Fix Travis builds continuing after failed lint
This commit is contained in:
@@ -7,7 +7,6 @@ cache:
|
|||||||
- node_modules
|
- node_modules
|
||||||
install: npm install
|
install: npm install
|
||||||
script:
|
script:
|
||||||
- npm run lint
|
|
||||||
- bash ./deploy/deploy.sh
|
- bash ./deploy/deploy.sh
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
|||||||
@@ -4,12 +4,14 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
function tests {
|
function tests {
|
||||||
|
npm run lint
|
||||||
npm run test-docs
|
npm run test-docs
|
||||||
VERSIONED=false npm run web-dist
|
VERSIONED=false npm run web-dist
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
function build {
|
function build {
|
||||||
|
npm run lint
|
||||||
npm run docs
|
npm run docs
|
||||||
VERSIONED=false npm run web-dist
|
VERSIONED=false npm run web-dist
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user