mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +01:00
Improve test and build scripts
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user