mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
Improve test and build scripts
This commit is contained in:
parent
eab5c9e7f1
commit
b4645685aa
3 changed files with 1 additions and 2 deletions
|
|
@ -11,6 +11,7 @@ jobs:
|
||||||
- stage: test
|
- stage: test
|
||||||
script: bash ./deploy/test.sh
|
script: bash ./deploy/test.sh
|
||||||
- stage: build
|
- stage: build
|
||||||
|
node_js: "6"
|
||||||
script: bash ./deploy/deploy.sh
|
script: bash ./deploy/deploy.sh
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
function build {
|
function build {
|
||||||
npm run lint
|
|
||||||
npm run docs
|
npm run docs
|
||||||
VERSIONED=false npm run webpack
|
VERSIONED=false npm run webpack
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ set -e
|
||||||
function tests {
|
function tests {
|
||||||
npm run lint
|
npm run lint
|
||||||
npm run docs:test
|
npm run docs:test
|
||||||
VERSIONED=false npm run webpack
|
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue