tidy up
This commit is contained in:
parent
6b5128a0bf
commit
9ca6aa8bbc
|
@ -23,3 +23,9 @@ jobs:
|
||||||
env:
|
env:
|
||||||
BUDIBASE_HOST: budicloud.qa.budibase.net
|
BUDIBASE_HOST: budicloud.qa.budibase.net
|
||||||
BUDIBASE_ACCOUNTS_URL: https://account-portal.budicloud.qa.budibase.net
|
BUDIBASE_ACCOUNTS_URL: https://account-portal.budicloud.qa.budibase.net
|
||||||
|
|
||||||
|
- name: Cypress Discord Notify
|
||||||
|
run: yarn test:notify
|
||||||
|
env:
|
||||||
|
WEBHOOK_URL: ${{ secrets.BUDI_QA_WEBHOOK }}
|
||||||
|
GITHUB_RUN_URL: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID
|
|
@ -2,3 +2,4 @@ node_modules/
|
||||||
.env
|
.env
|
||||||
watchtower-hook.json
|
watchtower-hook.json
|
||||||
dist/
|
dist/
|
||||||
|
.testReport.json
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
"test": "env-cmd jest --runInBand --json --outputFile=testResults.json",
|
"test": "env-cmd jest --runInBand --json --outputFile=testResults.json",
|
||||||
"test:watch": "env-cmd jest --watch",
|
"test:watch": "env-cmd jest --watch",
|
||||||
"test:debug": "DEBUG=1 jest",
|
"test:debug": "DEBUG=1 jest",
|
||||||
|
"test:notify": "node scripts/testResultsWebhook",
|
||||||
"docker:up": "docker-compose up -d",
|
"docker:up": "docker-compose up -d",
|
||||||
"docker:down": "docker-compose down",
|
"docker:down": "docker-compose down",
|
||||||
"api:server:setup": "npm run docker:up && env-cmd ts-node ../packages/builder/ts/setup.ts",
|
"api:server:setup": "npm run docker:up && env-cmd ts-node ../packages/builder/ts/setup.ts",
|
||||||
|
|
|
@ -4,7 +4,7 @@ const fetch = require("node-fetch")
|
||||||
const path = require("path")
|
const path = require("path")
|
||||||
const fs = require("fs")
|
const fs = require("fs")
|
||||||
|
|
||||||
const WEBHOOK_URL = process.env.CYPRESS_WEBHOOK_URL
|
const WEBHOOK_URL = process.env.WEBHOOK_URL
|
||||||
const GIT_SHA = process.env.GITHUB_SHA
|
const GIT_SHA = process.env.GITHUB_SHA
|
||||||
const GITHUB_ACTIONS_RUN_URL = process.env.GITHUB_ACTIONS_RUN_URL
|
const GITHUB_ACTIONS_RUN_URL = process.env.GITHUB_ACTIONS_RUN_URL
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue