From 09ea19aac7e6285a311d0d8023659206bd4a9690 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3berta=20Andersen?= Date: Fri, 13 Dec 2024 14:18:00 +0000 Subject: [PATCH 1/5] chore: updatecache and test --- .github/workflows/testcacheupdate.yml | 153 ++++++++++++++++++++++++++ scripts/ci/cache/package.json | 5 +- 2 files changed, 154 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/testcacheupdate.yml diff --git a/.github/workflows/testcacheupdate.yml b/.github/workflows/testcacheupdate.yml new file mode 100644 index 000000000000..d0de77fd42c7 --- /dev/null +++ b/.github/workflows/testcacheupdate.yml @@ -0,0 +1,153 @@ +name: Monorepo pipeline - pull request + +on: + push: + branches: + - main + workflow_dispatch: {} + +defaults: + run: + shell: bash + +concurrency: + # See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value + group: pullrequest-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +env: + COMPOSE_HTTP_TIMEOUT: 180 + +jobs: + prepare: + runs-on: ec2-runners + container: + image: public.ecr.aws/m3u4c4h9/island-is/actions-runner-public:latest + timeout-minutes: 35 + + env: + AFFECTED_ALL: ${{ secrets.AFFECTED_ALL }} + CHUNK_SIZE: 7 + SERVERSIDE_FEATURES_ON: '' + DOCKER_REGISTRY: 821090935708.dkr.ecr.eu-west-1.amazonaws.com/ + DOCKER_BASE_IMAGE_REGISTRY: 821090935708.dkr.ecr.eu-west-1.amazonaws.com/ecr-public + + outputs: + CACHE_KEYS: ${{ steps.get-cache.outputs.keys }} + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: actions/setup-node@v4 + with: + node-version-file: 'package.json' + + - name: Setup yarn + run: corepack enable + + - name: Check node version + run: | + set -euo pipefail + node -v + ls -l `which node` + + + - name: Get cache + id: get-cache + uses: ./.github/actions/get-cache + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + enable-cache: 'node_modules,cypress,generated-files' + + + linting-workspace: + needs: + - prepare + runs-on: ec2-runners + container: + image: public.ecr.aws/m3u4c4h9/island-is/actions-runner-public:latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version-file: 'package.json' + - name: Setup yarn + run: corepack enable + - name: Get cache + id: get-cache + uses: ./.github/actions/get-cache + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + keys: ${{ needs.prepare.outputs.CACHE_KEYS }} + enable-cache: 'node_modules,generated-files' + + - name: Linting workspace + run: ./scripts/ci/20_lint-workspace.sh + + + + formatting: + needs: + - prepare + runs-on: ec2-runners + container: + image: public.ecr.aws/m3u4c4h9/island-is/actions-runner-public:latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + if: ${{ github.event_name == 'pull_request' }} + with: + token: ${{ secrets.DIRTY_FIX_BOT_TOKEN }} + ref: ${{ github.event.pull_request.head.ref }} + + - uses: actions/checkout@v4 + if: ${{ github.ref == 'ref/heads/main' }} + + - uses: actions/setup-node@v4 + with: + node-version-file: 'package.json' + - name: Setup yarn + run: corepack enable + + - name: Get cache + id: get-cache + uses: ./.github/actions/get-cache + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + keys: ${{ needs.prepare.outputs.CACHE_KEYS }} + enable-cache: 'node_modules' + + + linting: + needs: + - prepare + runs-on: ec2-runners + container: + image: public.ecr.aws/m3u4c4h9/island-is/actions-runner-public:latest + timeout-minutes: 35 + if: needs.prepare.outputs.LINT_CHUNKS + env: + AFFECTED_PROJECTS: ${{ matrix.projects }} + NODE_OPTIONS: --max-old-space-size=4096 + MAX_JOBS: 3 + strategy: + fail-fast: false + matrix: ${{ fromJson(needs.prepare.outputs.LINT_CHUNKS) }} + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version-file: 'package.json' + - name: Setup yarn + run: corepack enable + - name: Get cache + id: get-cache + uses: ./.github/actions/get-cache + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + keys: ${{ needs.prepare.outputs.CACHE_KEYS }} + enable-cache: 'node_modules,generated-files' + - name: Linting + run: ./scripts/ci/run-in-parallel-native.sh lint + diff --git a/scripts/ci/cache/package.json b/scripts/ci/cache/package.json index d590ae1e2a27..1c40d8fa1f4f 100644 --- a/scripts/ci/cache/package.json +++ b/scripts/ci/cache/package.json @@ -1,9 +1,6 @@ { "dependencies": { - "@actions/cache": "3.2.4", + "@actions/cache": "4.2.0", "glob": "10.4.2" - }, - "resolutions": { - "@actions/cache@3.2.4": "patch:@actions/cache@npm%3A3.2.4#./.yarn/patches/@actions-cache-npm-3.2.4-c57b047f14.patch" } } From 2ded0446993246d5d04b3557430d6e3f5afbb01b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3berta=20Andersen?= Date: Fri, 13 Dec 2024 14:19:55 +0000 Subject: [PATCH 2/5] chore: testing cache update --- .github/workflows/testcacheupdate.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/testcacheupdate.yml b/.github/workflows/testcacheupdate.yml index d0de77fd42c7..a34a78a95379 100644 --- a/.github/workflows/testcacheupdate.yml +++ b/.github/workflows/testcacheupdate.yml @@ -1,5 +1,4 @@ -name: Monorepo pipeline - pull request - +name: Cache update test on: push: branches: @@ -15,8 +14,6 @@ concurrency: group: pullrequest-${{ github.head_ref || github.run_id }} cancel-in-progress: true -env: - COMPOSE_HTTP_TIMEOUT: 180 jobs: prepare: From 9340c11b7c46f35a8e804cac36ac900fc2409ae7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3berta=20Andersen?= Date: Fri, 13 Dec 2024 14:20:46 +0000 Subject: [PATCH 3/5] chore: testing cache update --- .github/workflows/testcacheupdate.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testcacheupdate.yml b/.github/workflows/testcacheupdate.yml index a34a78a95379..1991ead22de4 100644 --- a/.github/workflows/testcacheupdate.yml +++ b/.github/workflows/testcacheupdate.yml @@ -1,8 +1,8 @@ -name: Cache update test +name: Test on: push: branches: - - main + - cache-update workflow_dispatch: {} defaults: From e4d4f20b45e81a0d7971a28a954d5b87888cbae7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3berta=20Andersen?= Date: Fri, 13 Dec 2024 14:27:04 +0000 Subject: [PATCH 4/5] pinning to version 4.0.0 (npm) --- scripts/ci/cache/package.json | 2 +- scripts/ci/cache/yarn.lock | 311 ++++++++++++++++++++++++++++++---- 2 files changed, 279 insertions(+), 34 deletions(-) diff --git a/scripts/ci/cache/package.json b/scripts/ci/cache/package.json index 1c40d8fa1f4f..6dbeff402c6e 100644 --- a/scripts/ci/cache/package.json +++ b/scripts/ci/cache/package.json @@ -1,6 +1,6 @@ { "dependencies": { - "@actions/cache": "4.2.0", + "@actions/cache": "4.0.0", "glob": "10.4.2" } } diff --git a/scripts/ci/cache/yarn.lock b/scripts/ci/cache/yarn.lock index be32bd4ca1cf..e7793dbe9a05 100644 --- a/scripts/ci/cache/yarn.lock +++ b/scripts/ci/cache/yarn.lock @@ -5,11 +5,11 @@ __metadata: version: 6 cacheKey: 8 -"@actions/cache@npm:3.2.4": - version: 3.2.4 - resolution: "@actions/cache@npm:3.2.4" +"@actions/cache@npm:4.0.0": + version: 4.0.0 + resolution: "@actions/cache@npm:4.0.0" dependencies: - "@actions/core": ^1.10.0 + "@actions/core": ^1.11.1 "@actions/exec": ^1.0.1 "@actions/glob": ^0.1.0 "@actions/http-client": ^2.1.1 @@ -17,31 +17,24 @@ __metadata: "@azure/abort-controller": ^1.1.0 "@azure/ms-rest-js": ^2.6.0 "@azure/storage-blob": ^12.13.0 + "@protobuf-ts/plugin": ^2.9.4 semver: ^6.3.1 - uuid: ^3.3.3 - checksum: 5bf5f7541bea4906b553440a9ffee5699e11dfb729365c6cb0bbd37e147a1a0993369fdad16bfa3e2b01ec7fa57dac66276278bfd4a389009246a75ea953e61d + twirp-ts: ^2.5.0 + checksum: 8ab819a67b578a5ce6de984f4ef8420066f8270e1f9db053700f4a8f084d0bbe4f911114f7088a95a987372ea63078550355d99849412152dd0efdf688bf9144 languageName: node linkType: hard -"@actions/cache@patch:@actions/cache@npm%3A3.2.4#./.yarn/patches/@actions-cache-npm-3.2.4-c57b047f14.patch::locator=root-workspace-0b6124%40workspace%3A.": - version: 3.2.4 - resolution: "@actions/cache@patch:@actions/cache@npm%3A3.2.4#./.yarn/patches/@actions-cache-npm-3.2.4-c57b047f14.patch::version=3.2.4&hash=70b7bd&locator=root-workspace-0b6124%40workspace%3A." +"@actions/core@npm:^1.11.1": + version: 1.11.1 + resolution: "@actions/core@npm:1.11.1" dependencies: - "@actions/core": ^1.10.0 - "@actions/exec": ^1.0.1 - "@actions/glob": ^0.1.0 - "@actions/http-client": ^2.1.1 - "@actions/io": ^1.0.1 - "@azure/abort-controller": ^1.1.0 - "@azure/ms-rest-js": ^2.6.0 - "@azure/storage-blob": ^12.13.0 - semver: ^6.3.1 - uuid: ^3.3.3 - checksum: 6375f711c898d1b9cd827172d7cd77140226366af5b2b6a8db5de23d2350a3bd0444fa7bb9f55e2ad9390c1c1c2205299134cf195aca70c72cf18657cc4e4679 + "@actions/exec": ^1.1.1 + "@actions/http-client": ^2.0.1 + checksum: 9ac7a3e0b478bfefd862dcb4ddaa1d8c3f9076bb1931d3d280918d1749e7783480c6a009c1b009c8bf5093e2d77d9f4e023d70416145bf246f0071736d4ef839 languageName: node linkType: hard -"@actions/core@npm:^1.10.0, @actions/core@npm:^1.2.6": +"@actions/core@npm:^1.2.6": version: 1.10.1 resolution: "@actions/core@npm:1.10.1" dependencies: @@ -51,7 +44,7 @@ __metadata: languageName: node linkType: hard -"@actions/exec@npm:^1.0.1": +"@actions/exec@npm:^1.0.1, @actions/exec@npm:^1.1.1": version: 1.1.1 resolution: "@actions/exec@npm:1.1.1" dependencies: @@ -282,6 +275,57 @@ __metadata: languageName: node linkType: hard +"@protobuf-ts/plugin-framework@npm:^2.0.7, @protobuf-ts/plugin-framework@npm:^2.9.4": + version: 2.9.4 + resolution: "@protobuf-ts/plugin-framework@npm:2.9.4" + dependencies: + "@protobuf-ts/runtime": ^2.9.4 + typescript: ^3.9 + checksum: 6f3ea86e266b289f8d7080299209223a1366821371bd682920accf9f27135230dbd6c4c016d569c751c982d52cb6a7f94ea09d9e223f68f2c67e0a05e8460159 + languageName: node + linkType: hard + +"@protobuf-ts/plugin@npm:^2.9.4": + version: 2.9.4 + resolution: "@protobuf-ts/plugin@npm:2.9.4" + dependencies: + "@protobuf-ts/plugin-framework": ^2.9.4 + "@protobuf-ts/protoc": ^2.9.4 + "@protobuf-ts/runtime": ^2.9.4 + "@protobuf-ts/runtime-rpc": ^2.9.4 + typescript: ^3.9 + bin: + protoc-gen-dump: bin/protoc-gen-dump + protoc-gen-ts: bin/protoc-gen-ts + checksum: 06e1dd4ee4147e8d2d5141d4630366a0fdbc150921d4f99c5bded8ec2f22fb4a2abdd6a8e576db932c0946f6e70d69d3557340a67e68432f98e3494bacc95db2 + languageName: node + linkType: hard + +"@protobuf-ts/protoc@npm:^2.9.4": + version: 2.9.4 + resolution: "@protobuf-ts/protoc@npm:2.9.4" + bin: + protoc: protoc.js + checksum: 1ea82e1f323af8b89042c915e5ac492b56d2cfedf667149f5b6b7d138ca5e8e105820c8bf462273949c24e7ceef0cd03abaff04406eb60ce9b9f4cd0cfc08933 + languageName: node + linkType: hard + +"@protobuf-ts/runtime-rpc@npm:^2.9.4": + version: 2.9.4 + resolution: "@protobuf-ts/runtime-rpc@npm:2.9.4" + dependencies: + "@protobuf-ts/runtime": ^2.9.4 + checksum: a457c981aef71b5121b1f5a1a3e49510fd42017c7a88d75c60b3ba425a3fab886f8e89e8987f601c0585fdbcdeb4dc6c616ad6c8c0cae8b822cd9c0387d77345 + languageName: node + linkType: hard + +"@protobuf-ts/runtime@npm:^2.9.4": + version: 2.9.4 + resolution: "@protobuf-ts/runtime@npm:2.9.4" + checksum: de9e8bd47ef15539df6bccaa3e7bc7b6b198062eea8bf888eadf09208f377b9915969a17764106179228ae027ebaf390c4642261e623abd87b0c373fd7bf58b8 + languageName: node + linkType: hard + "abort-controller@npm:^3.0.0": version: 3.0.0 resolution: "abort-controller@npm:3.0.0" @@ -363,6 +407,16 @@ __metadata: languageName: node linkType: hard +"camel-case@npm:^4.1.2": + version: 4.1.2 + resolution: "camel-case@npm:4.1.2" + dependencies: + pascal-case: ^3.1.2 + tslib: ^2.0.3 + checksum: bcbd25cd253b3cbc69be3f535750137dbf2beb70f093bdc575f73f800acc8443d34fd52ab8f0a2413c34f1e8203139ffc88428d8863e4dfe530cfb257a379ad6 + languageName: node + linkType: hard + "color-convert@npm:^2.0.1": version: 2.0.1 resolution: "color-convert@npm:2.0.1" @@ -388,6 +442,13 @@ __metadata: languageName: node linkType: hard +"commander@npm:^6.1.0": + version: 6.2.1 + resolution: "commander@npm:6.2.1" + checksum: d7090410c0de6bc5c67d3ca41c41760d6d268f3c799e530aafb73b7437d1826bbf0d2a3edac33f8b57cc9887b4a986dce307fa5557e109be40eadb7c43b21742 + languageName: node + linkType: hard + "concat-map@npm:0.0.1": version: 0.0.1 resolution: "concat-map@npm:0.0.1" @@ -425,6 +486,18 @@ __metadata: languageName: node linkType: hard +"dot-object@npm:^2.1.4": + version: 2.1.5 + resolution: "dot-object@npm:2.1.5" + dependencies: + commander: ^6.1.0 + glob: ^7.1.6 + bin: + dot-object: bin/dot-object + checksum: 3e5a681bbea32dfc1cd0b1254adc93531bd462f7474a355e981738ef37253e4bc5c9482926289ef4d3c6ef9adb0a7ed894725ed3a69aa22063343dc2a57dd764 + languageName: node + linkType: hard + "eastasianwidth@npm:^0.2.0": version: 0.2.0 resolution: "eastasianwidth@npm:0.2.0" @@ -492,6 +565,13 @@ __metadata: languageName: node linkType: hard +"fs.realpath@npm:^1.0.0": + version: 1.0.0 + resolution: "fs.realpath@npm:1.0.0" + checksum: 99ddea01a7e75aa276c250a04eedeffe5662bce66c65c07164ad6264f9de18fb21be9433ead460e54cff20e31721c811f4fb5d70591799df5f85dce6d6746fd0 + languageName: node + linkType: hard + "glob@npm:10.4.2": version: 10.4.2 resolution: "glob@npm:10.4.2" @@ -508,6 +588,20 @@ __metadata: languageName: node linkType: hard +"glob@npm:^7.1.6": + version: 7.2.3 + resolution: "glob@npm:7.2.3" + dependencies: + fs.realpath: ^1.0.0 + inflight: ^1.0.4 + inherits: 2 + minimatch: ^3.1.1 + once: ^1.3.0 + path-is-absolute: ^1.0.0 + checksum: 29452e97b38fa704dabb1d1045350fb2467cf0277e155aa9ff7077e90ad81d1ea9d53d3ee63bd37c05b09a065e90f16aec4a65f5b8de401d1dac40bc5605d133 + languageName: node + linkType: hard + "http-proxy-agent@npm:^7.0.0": version: 7.0.2 resolution: "http-proxy-agent@npm:7.0.2" @@ -528,6 +622,23 @@ __metadata: languageName: node linkType: hard +"inflight@npm:^1.0.4": + version: 1.0.6 + resolution: "inflight@npm:1.0.6" + dependencies: + once: ^1.3.0 + wrappy: 1 + checksum: f4f76aa072ce19fae87ce1ef7d221e709afb59d445e05d47fba710e85470923a75de35bfae47da6de1b18afc3ce83d70facf44cfb0aff89f0a3f45c0a0244dfd + languageName: node + linkType: hard + +"inherits@npm:2": + version: 2.0.4 + resolution: "inherits@npm:2.0.4" + checksum: 4a48a733847879d6cf6691860a6b1e3f0f4754176e4d71494c41f3475553768b10f84b5ce1d40fbd0e34e6bfbb864ee35858ad4dd2cf31e02fc4a154b724d7f1 + languageName: node + linkType: hard + "is-fullwidth-code-point@npm:^3.0.0": version: 3.0.0 resolution: "is-fullwidth-code-point@npm:3.0.0" @@ -555,6 +666,22 @@ __metadata: languageName: node linkType: hard +"lodash@npm:^4.17.15": + version: 4.17.21 + resolution: "lodash@npm:4.17.21" + checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7 + languageName: node + linkType: hard + +"lower-case@npm:^2.0.2": + version: 2.0.2 + resolution: "lower-case@npm:2.0.2" + dependencies: + tslib: ^2.0.3 + checksum: 83a0a5f159ad7614bee8bf976b96275f3954335a84fad2696927f609ddae902802c4f3312d86668722e668bef41400254807e1d3a7f2e8c3eede79691aa1f010 + languageName: node + linkType: hard + "lru-cache@npm:^10.2.0": version: 10.2.2 resolution: "lru-cache@npm:10.2.2" @@ -578,7 +705,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^3.0.4": +"minimatch@npm:^3.0.4, minimatch@npm:^3.1.1": version: 3.1.2 resolution: "minimatch@npm:3.1.2" dependencies: @@ -610,6 +737,16 @@ __metadata: languageName: node linkType: hard +"no-case@npm:^3.0.4": + version: 3.0.4 + resolution: "no-case@npm:3.0.4" + dependencies: + lower-case: ^2.0.2 + tslib: ^2.0.3 + checksum: 0b2ebc113dfcf737d48dde49cfebf3ad2d82a8c3188e7100c6f375e30eafbef9e9124aadc3becef237b042fd5eb0aad2fd78669c20972d045bbe7fea8ba0be5c + languageName: node + linkType: hard + "node-fetch@npm:^2.6.7": version: 2.7.0 resolution: "node-fetch@npm:2.7.0" @@ -624,6 +761,15 @@ __metadata: languageName: node linkType: hard +"once@npm:^1.3.0": + version: 1.4.0 + resolution: "once@npm:1.4.0" + dependencies: + wrappy: 1 + checksum: cd0a88501333edd640d95f0d2700fbde6bff20b3d4d9bdc521bdd31af0656b5706570d6c6afe532045a20bb8dc0849f8332d6f2a416e0ba6d3d3b98806c7db68 + languageName: node + linkType: hard + "package-json-from-dist@npm:^1.0.0": version: 1.0.0 resolution: "package-json-from-dist@npm:1.0.0" @@ -631,6 +777,23 @@ __metadata: languageName: node linkType: hard +"pascal-case@npm:^3.1.2": + version: 3.1.2 + resolution: "pascal-case@npm:3.1.2" + dependencies: + no-case: ^3.0.4 + tslib: ^2.0.3 + checksum: ba98bfd595fc91ef3d30f4243b1aee2f6ec41c53b4546bfa3039487c367abaa182471dcfc830a1f9e1a0df00c14a370514fa2b3a1aacc68b15a460c31116873e + languageName: node + linkType: hard + +"path-is-absolute@npm:^1.0.0": + version: 1.0.1 + resolution: "path-is-absolute@npm:1.0.1" + checksum: 060840f92cf8effa293bcc1bea81281bd7d363731d214cbe5c227df207c34cd727430f70c6037b5159c8a870b9157cba65e775446b0ab06fd5ecc7e54615a3b8 + languageName: node + linkType: hard + "path-key@npm:^3.1.0": version: 3.1.1 resolution: "path-key@npm:3.1.1" @@ -648,11 +811,27 @@ __metadata: languageName: node linkType: hard +"path-to-regexp@npm:^6.2.0": + version: 6.3.0 + resolution: "path-to-regexp@npm:6.3.0" + checksum: eca78602e6434a1b6799d511d375ec044e8d7e28f5a48aa5c28d57d8152fb52f3fc62fb1cfc5dfa2198e1f041c2a82ed14043d75740a2fe60e91b5089a153250 + languageName: node + linkType: hard + +"prettier@npm:^2.5.1": + version: 2.8.8 + resolution: "prettier@npm:2.8.8" + bin: + prettier: bin-prettier.js + checksum: b49e409431bf129dd89238d64299ba80717b57ff5a6d1c1a8b1a28b590d998a34e083fa13573bc732bb8d2305becb4c9a4407f8486c81fa7d55100eb08263cf8 + languageName: node + linkType: hard + "root-workspace-0b6124@workspace:.": version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - "@actions/cache": 3.2.4 + "@actions/cache": 4.0.0 glob: 10.4.2 languageName: unknown linkType: soft @@ -750,6 +929,16 @@ __metadata: languageName: node linkType: hard +"ts-poet@npm:^4.5.0": + version: 4.15.0 + resolution: "ts-poet@npm:4.15.0" + dependencies: + lodash: ^4.17.15 + prettier: ^2.5.1 + checksum: 93490e8b5921e23ac65afdecc00b4dd53f3560d7d9c19778a3f0bd9a300ba7ca71585a989d564508313bc73e8c431413714d513ebca2d5c428f909ec36bcf6e9 + languageName: node + linkType: hard + "tslib@npm:^1.10.0": version: 1.14.1 resolution: "tslib@npm:1.14.1" @@ -757,6 +946,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:^2.0.3": + version: 2.8.1 + resolution: "tslib@npm:2.8.1" + checksum: e4aba30e632b8c8902b47587fd13345e2827fa639e7c3121074d5ee0880723282411a8838f830b55100cbe4517672f84a2472667d355b81e8af165a55dc6203a + languageName: node + linkType: hard + "tslib@npm:^2.2.0, tslib@npm:^2.6.2": version: 2.6.3 resolution: "tslib@npm:2.6.3" @@ -771,6 +967,50 @@ __metadata: languageName: node linkType: hard +"twirp-ts@npm:^2.5.0": + version: 2.5.0 + resolution: "twirp-ts@npm:2.5.0" + dependencies: + "@protobuf-ts/plugin-framework": ^2.0.7 + camel-case: ^4.1.2 + dot-object: ^2.1.4 + path-to-regexp: ^6.2.0 + ts-poet: ^4.5.0 + yaml: ^1.10.2 + peerDependencies: + "@protobuf-ts/plugin": ^2.5.0 + ts-proto: ^1.81.3 + peerDependenciesMeta: + "@protobuf-ts/plugin": + optional: true + ts-proto: + optional: true + bin: + protoc-gen-twirp_ts: protoc-gen-twirp_ts + checksum: e7cf87d77ab4d2cd327c9d8307e82ff61afc5af56883aed5fb6ac7d57999b646945e11158be87c10f0340aeef2efde6eb896f2efd60599498f17b4f310d66e4f + languageName: node + linkType: hard + +"typescript@npm:^3.9": + version: 3.9.10 + resolution: "typescript@npm:3.9.10" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 46c842e2cd4797b88b66ef06c9c41dd21da48b95787072ccf39d5f2aa3124361bc4c966aa1c7f709fae0509614d76751455b5231b12dbb72eb97a31369e1ff92 + languageName: node + linkType: hard + +"typescript@patch:typescript@^3.9#~builtin": + version: 3.9.10 + resolution: "typescript@patch:typescript@npm%3A3.9.10#~builtin::version=3.9.10&hash=a1c5e5" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: dc7141ab555b23a8650a6787f98845fc11692063d02b75ff49433091b3af2fe3d773650dea18389d7c21f47d620fb3b110ea363dab4ab039417a6ccbbaf96fc2 + languageName: node + linkType: hard + "undici@npm:^5.25.4": version: 5.28.4 resolution: "undici@npm:5.28.4" @@ -780,15 +1020,6 @@ __metadata: languageName: node linkType: hard -"uuid@npm:^3.3.3": - version: 3.4.0 - resolution: "uuid@npm:3.4.0" - bin: - uuid: ./bin/uuid - checksum: 58de2feed61c59060b40f8203c0e4ed7fd6f99d42534a499f1741218a1dd0c129f4aa1de797bcf822c8ea5da7e4137aa3673431a96dae729047f7aca7b27866f - languageName: node - linkType: hard - "uuid@npm:^8.3.2": version: 8.3.2 resolution: "uuid@npm:8.3.2" @@ -848,6 +1079,13 @@ __metadata: languageName: node linkType: hard +"wrappy@npm:1": + version: 1.0.2 + resolution: "wrappy@npm:1.0.2" + checksum: 159da4805f7e84a3d003d8841557196034155008f817172d4e986bd591f74aa82aa7db55929a54222309e01079a65a92a9e6414da5a6aa4b01ee44a511ac3ee5 + languageName: node + linkType: hard + "xml2js@npm:^0.5.0": version: 0.5.0 resolution: "xml2js@npm:0.5.0" @@ -864,3 +1102,10 @@ __metadata: checksum: 7152695e16f1a9976658215abab27e55d08b1b97bca901d58b048d2b6e106b5af31efccbdecf9b07af37c8377d8e7e821b494af10b3a68b0ff4ae60331b415b0 languageName: node linkType: hard + +"yaml@npm:^1.10.2": + version: 1.10.2 + resolution: "yaml@npm:1.10.2" + checksum: ce4ada136e8a78a0b08dc10b4b900936912d15de59905b2bf415b4d33c63df1d555d23acb2a41b23cf9fb5da41c256441afca3d6509de7247daa062fd2c5ea5f + languageName: node + linkType: hard From 5571ab92a364a45444f9f0ca45cd5d1bda055f48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3berta=20Andersen?= Date: Fri, 13 Dec 2024 14:31:37 +0000 Subject: [PATCH 5/5] chore: removing test --- .github/workflows/testcacheupdate.yml | 150 -------------------------- 1 file changed, 150 deletions(-) delete mode 100644 .github/workflows/testcacheupdate.yml diff --git a/.github/workflows/testcacheupdate.yml b/.github/workflows/testcacheupdate.yml deleted file mode 100644 index 1991ead22de4..000000000000 --- a/.github/workflows/testcacheupdate.yml +++ /dev/null @@ -1,150 +0,0 @@ -name: Test -on: - push: - branches: - - cache-update - workflow_dispatch: {} - -defaults: - run: - shell: bash - -concurrency: - # See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-using-a-fallback-value - group: pullrequest-${{ github.head_ref || github.run_id }} - cancel-in-progress: true - - -jobs: - prepare: - runs-on: ec2-runners - container: - image: public.ecr.aws/m3u4c4h9/island-is/actions-runner-public:latest - timeout-minutes: 35 - - env: - AFFECTED_ALL: ${{ secrets.AFFECTED_ALL }} - CHUNK_SIZE: 7 - SERVERSIDE_FEATURES_ON: '' - DOCKER_REGISTRY: 821090935708.dkr.ecr.eu-west-1.amazonaws.com/ - DOCKER_BASE_IMAGE_REGISTRY: 821090935708.dkr.ecr.eu-west-1.amazonaws.com/ecr-public - - outputs: - CACHE_KEYS: ${{ steps.get-cache.outputs.keys }} - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - uses: actions/setup-node@v4 - with: - node-version-file: 'package.json' - - - name: Setup yarn - run: corepack enable - - - name: Check node version - run: | - set -euo pipefail - node -v - ls -l `which node` - - - - name: Get cache - id: get-cache - uses: ./.github/actions/get-cache - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - enable-cache: 'node_modules,cypress,generated-files' - - - linting-workspace: - needs: - - prepare - runs-on: ec2-runners - container: - image: public.ecr.aws/m3u4c4h9/island-is/actions-runner-public:latest - timeout-minutes: 5 - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version-file: 'package.json' - - name: Setup yarn - run: corepack enable - - name: Get cache - id: get-cache - uses: ./.github/actions/get-cache - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - keys: ${{ needs.prepare.outputs.CACHE_KEYS }} - enable-cache: 'node_modules,generated-files' - - - name: Linting workspace - run: ./scripts/ci/20_lint-workspace.sh - - - - formatting: - needs: - - prepare - runs-on: ec2-runners - container: - image: public.ecr.aws/m3u4c4h9/island-is/actions-runner-public:latest - timeout-minutes: 5 - steps: - - uses: actions/checkout@v4 - if: ${{ github.event_name == 'pull_request' }} - with: - token: ${{ secrets.DIRTY_FIX_BOT_TOKEN }} - ref: ${{ github.event.pull_request.head.ref }} - - - uses: actions/checkout@v4 - if: ${{ github.ref == 'ref/heads/main' }} - - - uses: actions/setup-node@v4 - with: - node-version-file: 'package.json' - - name: Setup yarn - run: corepack enable - - - name: Get cache - id: get-cache - uses: ./.github/actions/get-cache - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - keys: ${{ needs.prepare.outputs.CACHE_KEYS }} - enable-cache: 'node_modules' - - - linting: - needs: - - prepare - runs-on: ec2-runners - container: - image: public.ecr.aws/m3u4c4h9/island-is/actions-runner-public:latest - timeout-minutes: 35 - if: needs.prepare.outputs.LINT_CHUNKS - env: - AFFECTED_PROJECTS: ${{ matrix.projects }} - NODE_OPTIONS: --max-old-space-size=4096 - MAX_JOBS: 3 - strategy: - fail-fast: false - matrix: ${{ fromJson(needs.prepare.outputs.LINT_CHUNKS) }} - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version-file: 'package.json' - - name: Setup yarn - run: corepack enable - - name: Get cache - id: get-cache - uses: ./.github/actions/get-cache - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - keys: ${{ needs.prepare.outputs.CACHE_KEYS }} - enable-cache: 'node_modules,generated-files' - - name: Linting - run: ./scripts/ci/run-in-parallel-native.sh lint -