From ea6bac2af1a029bbc66b6afe4069a77fbbc73318 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Thu, 1 Feb 2024 18:59:46 +0000 Subject: [PATCH] Re-enable tests --- .dev.env | 2 +- .drone.yml | 9 ++++----- .prod.env | 2 +- .stage.env | 2 +- package.json | 2 +- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.dev.env b/.dev.env index a0df6c9..a994934 100644 --- a/.dev.env +++ b/.dev.env @@ -7,7 +7,7 @@ # any secret values. BOT_TOKEN= -BOT_VER=3.2 DEV +BOT_VER=3.3.0 BOT_AUTHOR=Vylpes BOT_OWNERID=147392775707426816 BOT_CLIENTID=682942374040961060 diff --git a/.drone.yml b/.drone.yml index 97df6ae..be9202a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -54,11 +54,10 @@ steps: - yarn install --frozen-lockfile - yarn build -# - name: test -# image: node -# commands: -# - yarn install --frozen-lockfile -# - yarn test +- name: test + image: node + commands: + - yarn test trigger: branch: diff --git a/.prod.env b/.prod.env index 6c9b8c9..7e1588f 100644 --- a/.prod.env +++ b/.prod.env @@ -7,7 +7,7 @@ # any secret values. BOT_TOKEN= -BOT_VER=3.2 +BOT_VER=3.3.0 BOT_AUTHOR=Vylpes BOT_OWNERID=147392775707426816 BOT_CLIENTID=680083120896081954 diff --git a/.stage.env b/.stage.env index 6e29629..db2f0de 100644 --- a/.stage.env +++ b/.stage.env @@ -7,7 +7,7 @@ # any secret values. BOT_TOKEN= -BOT_VER=3.2 BETA +BOT_VER=3.3.0 BOT_AUTHOR=Vylpes BOT_OWNERID=147392775707426816 BOT_CLIENTID=1016767908740857949 diff --git a/package.json b/package.json index 81e8770..d4d70ae 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "clean": "rm -rf node_modules/ dist/", "build": "tsc", "start": "node ./dist/vylbot", - "test": "echo true", + "test": "jest .", "db:up": "typeorm migration:run -d dist/database/dataSources/appDataSource.js", "db:down": "typeorm migration:revert -d dist/database/dataSources/appDataSource.js", "release": "np --no-publish"