From 1f2004a32a76830f47fdcfe84439f5fd57fe55ce Mon Sep 17 00:00:00 2001 From: Trivernis Date: Mon, 16 Nov 2020 10:44:47 +0100 Subject: [PATCH 1/6] Create node.js.yml --- .github/workflows/node.js.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..a0f5111 --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,30 @@ +# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: Node.js CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [10.x, 12.x, 14.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci + - run: npm -g gulp + - run: gulp build + - run: timeout 1s npm start From 457c221a414c2d55da852cf46980a7244ad8ebe6 Mon Sep 17 00:00:00 2001 From: Trivernis Date: Mon, 16 Nov 2020 10:46:17 +0100 Subject: [PATCH 2/6] Fix gulp install command --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index a0f5111..09bfebf 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -25,6 +25,6 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm ci - - run: npm -g gulp + - run: npm install -g gulp - run: gulp build - run: timeout 1s npm start From 2c3cd76a486f387ab86267023fc4d9d2e07089b5 Mon Sep 17 00:00:00 2001 From: Trivernis Date: Mon, 16 Nov 2020 10:48:06 +0100 Subject: [PATCH 3/6] Fix gulp task name --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 09bfebf..e0e20bc 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -26,5 +26,5 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm install -g gulp - - run: gulp build + - run: gulp - run: timeout 1s npm start From ff736531653a18d67bddc3de5543bce7b3bf5966 Mon Sep 17 00:00:00 2001 From: Trivernis Date: Mon, 16 Nov 2020 10:52:46 +0100 Subject: [PATCH 4/6] Remove unecessary node versions from matrix --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index e0e20bc..aa66516 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [10.x, 12.x, 14.x] + node-version: [14.x] steps: - uses: actions/checkout@v2 From 7cc46f053df52fb200089f0916f1704f5a82da09 Mon Sep 17 00:00:00 2001 From: trivernis Date: Mon, 16 Nov 2020 11:09:22 +0100 Subject: [PATCH 5/6] Fix graphql schema Signed-off-by: trivernis --- src/schema/type-defs.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/schema/type-defs.ts b/src/schema/type-defs.ts index 5907eb1..e55b822 100644 --- a/src/schema/type-defs.ts +++ b/src/schema/type-defs.ts @@ -215,6 +215,7 @@ input InsuranceDataUpdateInput { maintenanceAgreement: String hasFixedRate: Boolean fixedRate: Float + """ Projektzuschuss: must be of format [+|-][$][0-9]*[.[0-9]*] commas are ignored, non numeric values except , and . lead to errors From 8c35329e68951300ee485d0751d20d32b20195f6 Mon Sep 17 00:00:00 2001 From: trivernis Date: Mon, 16 Nov 2020 11:21:39 +0100 Subject: [PATCH 6/6] Remove npm start from nodejs action Signed-off-by: trivernis --- .github/workflows/node.js.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index aa66516..8cf4409 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -27,4 +27,3 @@ jobs: - run: npm ci - run: npm install -g gulp - run: gulp - - run: timeout 1s npm start