From e484144c7fac17d9eb76c60bf459c96ee2e60624 Mon Sep 17 00:00:00 2001 From: Mircea Nistor Date: Thu, 27 Jul 2023 13:04:51 +0200 Subject: [PATCH] fix(ci): pass with no test matches --- .github/workflows/build-and-test-on-pr.yml | 2 +- .../workflows/build-test-publish-on-push.yml | 2 +- package.json | 3 - pnpm-lock.yaml | 62 ------------------- 4 files changed, 2 insertions(+), 67 deletions(-) diff --git a/.github/workflows/build-and-test-on-pr.yml b/.github/workflows/build-and-test-on-pr.yml index 0c7664d..c70158b 100644 --- a/.github/workflows/build-and-test-on-pr.yml +++ b/.github/workflows/build-and-test-on-pr.yml @@ -64,7 +64,7 @@ jobs: POSTGRES_USER: postgres POSTGRES_PASSWORD: test123 POSTGRES_PORT: 5432 - run: pnpm test:integration --shard=${{ matrix.shard }}/${{ strategy.job-total }} + run: pnpm test:integration --shard=${{ matrix.shard }}/${{ strategy.job-total }} --passWithNoTests - run: mv coverage/coverage-final.json coverage/${{matrix.shard}}.json - uses: actions/upload-artifact@v3 with: diff --git a/.github/workflows/build-test-publish-on-push.yml b/.github/workflows/build-test-publish-on-push.yml index b4928ab..7c11d52 100644 --- a/.github/workflows/build-test-publish-on-push.yml +++ b/.github/workflows/build-test-publish-on-push.yml @@ -71,7 +71,7 @@ jobs: POSTGRES_USER: postgres POSTGRES_PASSWORD: test123 POSTGRES_PORT: 5432 - run: pnpm test:integration --shard=${{ matrix.shard }}/${{ strategy.job-total }} + run: pnpm test:integration --shard=${{ matrix.shard }}/${{ strategy.job-total }} --passWithNoTests - run: mv coverage/coverage-final.json coverage/${{matrix.shard}}.json - uses: actions/upload-artifact@v3 with: diff --git a/package.json b/package.json index 687ab24..0557f72 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,6 @@ "@typescript-eslint/parser": "6.2.0", "codecov": "3.8.3", "cross-env": "7.0.3", - "cross-fetch": "4.0.0", "eslint": "8.45.0", "eslint-config-prettier": "8.8.0", "eslint-plugin-jest": "27.2.3", @@ -54,8 +53,6 @@ "lerna": "7.1.4", "lerna-changelog": "2.2.0", "lint-staged": "13.2.3", - "oas-resolver": "2.5.6", - "openapi-types": "12.1.3", "prettier": "3.0.0", "rimraf": "5.0.1", "semantic-release": "21.0.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 664d3ac..706e1ec 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,9 +41,6 @@ importers: cross-env: specifier: 7.0.3 version: 7.0.3 - cross-fetch: - specifier: 4.0.0 - version: 4.0.0 eslint: specifier: 8.45.0 version: 8.45.0 @@ -77,12 +74,6 @@ importers: lint-staged: specifier: 13.2.3 version: 13.2.3 - oas-resolver: - specifier: 2.5.6 - version: 2.5.6 - openapi-types: - specifier: 12.1.3 - version: 12.1.3 prettier: specifier: 3.0.0 version: 3.0.0 @@ -2850,14 +2841,6 @@ packages: - encoding dev: true - /cross-fetch@4.0.0: - resolution: {integrity: sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==} - dependencies: - node-fetch: 2.6.12 - transitivePeerDependencies: - - encoding - dev: true - /cross-spawn@7.0.3: resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} engines: {node: '>= 8'} @@ -3427,10 +3410,6 @@ packages: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} dev: true - /fast-safe-stringify@2.1.1: - resolution: {integrity: sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA==} - dev: true - /fast-url-parser@1.1.3: resolution: {integrity: sha512-5jOCVXADYNuRkKFzNJ0dCCewsZiYo0dz8QNYljkOpFC6r2U4OBmKtvm/Tsuh4w1YYdDqDb31a8TVhBJ2OJKdqQ==} dependencies: @@ -3978,10 +3957,6 @@ packages: - supports-color dev: true - /http2-client@1.3.5: - resolution: {integrity: sha512-EC2utToWl4RKfs5zd36Mxq7nzHHBuomZboI0yYL6Y0RmBgT7Sgkq4rQ0ezFTYoIsSs7Tm9SJe+o2FcAg6GBhGA==} - dev: true - /https-proxy-agent@5.0.1: resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} engines: {node: '>= 6'} @@ -5668,13 +5643,6 @@ packages: lodash: 4.17.21 dev: true - /node-fetch-h2@2.3.0: - resolution: {integrity: sha512-ofRW94Ab0T4AOh5Fk8t0h8OBWrmjb0SSB20xh1H8YnPV9EJ+f5AMoYSUQ2zgJ4Iq2HAK0I2l5/Nequ8YzFS3Hg==} - engines: {node: 4.x || >=6.0.0} - dependencies: - http2-client: 1.3.5 - dev: true - /node-fetch@2.6.12: resolution: {integrity: sha512-C/fGU2E8ToujUivIO0H+tpQ6HWo4eEmchoPIoXtxCrVghxdKq+QOHqEZW7tuP3KlV3bC8FRMO5nMCC7Zm1VP6g==} engines: {node: 4.x || >=6.0.0} @@ -6031,23 +5999,6 @@ packages: - debug dev: true - /oas-kit-common@1.0.8: - resolution: {integrity: sha512-pJTS2+T0oGIwgjGpw7sIRU8RQMcUoKCDWFLdBqKB2BNmGpbBMH2sdqAaOXUg8OzonZHU0L7vfJu1mJFEiYDWOQ==} - dependencies: - fast-safe-stringify: 2.1.1 - dev: true - - /oas-resolver@2.5.6: - resolution: {integrity: sha512-Yx5PWQNZomfEhPPOphFbZKi9W93CocQj18NlD2Pa4GWZzdZpSJvYwoiuurRI7m3SpcChrnO08hkuQDL3FGsVFQ==} - hasBin: true - dependencies: - node-fetch-h2: 2.3.0 - oas-kit-common: 1.0.8 - reftools: 1.1.9 - yaml: 1.10.2 - yargs: 17.7.2 - dev: true - /object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} @@ -6096,10 +6047,6 @@ packages: is-wsl: 2.2.0 dev: true - /openapi-types@12.1.3: - resolution: {integrity: sha512-N4YtSYJqghVu4iek2ZUvcN/0aqH1kRDuNqzcycDxhOUpg7GdvLa2F3DgS6yBNhInhv2r/6I0Flkn7CqL8+nIcw==} - dev: true - /optionator@0.9.3: resolution: {integrity: sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==} engines: {node: '>= 0.8.0'} @@ -6727,10 +6674,6 @@ packages: esprima: 4.0.1 dev: true - /reftools@1.1.9: - resolution: {integrity: sha512-OVede/NQE13xBQ+ob5CKd5KyeJYU2YInb1bmV4nRoOfquZPkAkxuOXicSe1PvqIuZZ4kD13sPKBbR7UFDmli6w==} - dev: true - /registry-auth-token@5.0.2: resolution: {integrity: sha512-o/3ikDxtXaA59BmZuZrJZDJv8NMDGSj+6j6XaeBmHw8eY1i1qd9+6H+LjVvQXx3HN6aRCGa1cUdJ9RaJZUugnQ==} engines: {node: '>=14'} @@ -7985,11 +7928,6 @@ packages: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} dev: true - /yaml@1.10.2: - resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} - engines: {node: '>= 6'} - dev: true - /yaml@2.3.1: resolution: {integrity: sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ==} engines: {node: '>= 14'}