From 64126ebc670b9bb0acc529c2fa9ae12a9d3bf4e1 Mon Sep 17 00:00:00 2001 From: Mika Vilpas Date: Sat, 30 Nov 2024 15:23:57 +0200 Subject: [PATCH] ci: preinstall neovim plugins before integration-tests Previously this caused the first 1-2 tests to fail, although this was always caught by retries. It's not very clean to have these failures, so let's be clear and install all neovim plugins beforehand. --- .github/workflows/test.yml | 4 ++++ integration-tests/package.json | 2 +- pnpm-lock.yaml | 10 +++++----- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f80ca9..6516c9d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -69,6 +69,10 @@ jobs: runTests: false # https://github.com/cypress-io/github-action/blob/bff0ae58f02476fbc4b13229bcaac2767f645b3e/README.md#pnpm-workspaces + - name: Preinstall neovim plugins + run: pnpm tui neovim exec "Lazy! sync" + working-directory: integration-tests + - name: Cypress test uses: cypress-io/github-action@v6 with: diff --git a/integration-tests/package.json b/integration-tests/package.json index c180258..2b70352 100644 --- a/integration-tests/package.json +++ b/integration-tests/package.json @@ -15,7 +15,7 @@ "zod": "3.23.8" }, "devDependencies": { - "@tui-sandbox/library": "7.2.1", + "@tui-sandbox/library": "7.3.0", "@types/node": "22.10.1", "@types/tinycolor2": "1.4.6", "@typescript-eslint/eslint-plugin": "8.16.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 016bd79..4135d0c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -37,8 +37,8 @@ importers: version: 3.23.8 devDependencies: '@tui-sandbox/library': - specifier: 7.2.1 - version: 7.2.1(cypress@13.16.0)(prettier@3.4.1)(type-fest@4.29.0)(typescript@5.7.2) + specifier: 7.3.0 + version: 7.3.0(cypress@13.16.0)(prettier@3.4.1)(type-fest@4.29.0)(typescript@5.7.2) '@types/node': specifier: 22.10.1 version: 22.10.1 @@ -375,8 +375,8 @@ packages: peerDependencies: typescript: '>=5.6.2' - '@tui-sandbox/library@7.2.1': - resolution: {integrity: sha512-Oot33wsISonReNH0vcsN1u6kJSqpTG8ogzl3fLol6qRulGXRWlvfnrUxOW5HQFXla8oypObsel/aNP0X2EpBhg==} + '@tui-sandbox/library@7.3.0': + resolution: {integrity: sha512-RFwAPoea0X9pMAFxl91weSK17RJ05qg4wW0LQuEJcy4u8TBUeWjUvUIGYe/K97RrztGaR8+U53KRFUM+tiTJMQ==} hasBin: true peerDependencies: cypress: ^13 @@ -2687,7 +2687,7 @@ snapshots: dependencies: typescript: 5.7.2 - '@tui-sandbox/library@7.2.1(cypress@13.16.0)(prettier@3.4.1)(type-fest@4.29.0)(typescript@5.7.2)': + '@tui-sandbox/library@7.3.0(cypress@13.16.0)(prettier@3.4.1)(type-fest@4.29.0)(typescript@5.7.2)': dependencies: '@catppuccin/palette': 1.7.1 '@trpc/client': 11.0.0-rc.648(@trpc/server@11.0.0-rc.648(typescript@5.7.2))(typescript@5.7.2)