From 1ad9743015149cd843d65d9c37344f95d15af914 Mon Sep 17 00:00:00 2001 From: scx1332 Date: Fri, 12 Apr 2024 21:49:07 +0200 Subject: [PATCH] feat: added develop CI #38 --- .github/workflows/development.yml | 18 ++++++++++++++++++ backend/package.json | 1 + backend/src/services/yagna/service.ts | 1 - frontend/src/config.ts | 2 +- 4 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/development.yml diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml new file mode 100644 index 0000000..44f4c9e --- /dev/null +++ b/.github/workflows/development.yml @@ -0,0 +1,18 @@ +#Location: .github/workflows/custom_config.yml + +name: Build and push containers to Github Container Registry and apply rolling update +on: + push: + branches: + - develop + +jobs: + build: + runs-on: deposit-development + steps: + - uses: actions/checkout@v4 + with: + submodules: "recursive" + + - name: Where am I + run: pwd diff --git a/backend/package.json b/backend/package.json index 0d79358..18c1813 100644 --- a/backend/package.json +++ b/backend/package.json @@ -5,6 +5,7 @@ "main": "index.ts", "scripts": { "dev": "concurrently -k \"tsc -w\" \"nodemon --env-file=.env.local ./dist/index.js\"", + "devscx": "tsc && node --env-file=.env.local ./dist/index.js", "build": "tsc", "start": "node ./dist/index.js" }, diff --git a/backend/src/services/yagna/service.ts b/backend/src/services/yagna/service.ts index 980bd75..cd2f78e 100644 --- a/backend/src/services/yagna/service.ts +++ b/backend/src/services/yagna/service.ts @@ -30,7 +30,6 @@ export class Yagna { } async observeDebitNoteEvents() { - return; debugLog("payments", "observing events"); while (this.isRunning) { debugLog( diff --git a/frontend/src/config.ts b/frontend/src/config.ts index 3e96cea..9ab85e9 100644 --- a/frontend/src/config.ts +++ b/frontend/src/config.ts @@ -28,7 +28,7 @@ export const config: Config<[typeof holesky]> = { [holesky.id]: "0x8888888815bf4db87e57b609a50f938311eed068", }, requestorWalletAddress: { - [holesky.id]: "0x047b7a753dfd1e6f9e64e24e1d8450e55887e892", + [holesky.id]: "0xc6b6818d452e4c821d32423677092316a6b705e7", }, minimalAllowance: parseEther("50"), };