From 45739a6571e3c5d324a3fcf6a959ae6b92ecffbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20Mi=C3=B1o?= Date: Thu, 29 Feb 2024 13:36:17 -0300 Subject: [PATCH] nodemodules --- .github/workflows/test.yaml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e8a9c7a..bded30a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -18,16 +18,17 @@ jobs: with: node-version: "18.18.0" cache: 'yarn' - - name: Download deps cache artifacts - uses: actions/download-artifact@v3 - with: - name: node_modules.tar.gz - - name: Unzip node_modules - run: tar xzf node_modules.tar.gz - name: Install deps via Yarn run: yarn - name: Check for frozen lockfile run: yarn check-lockfile + - name: Zip node_modules + run: tar czf node_modules.tar.gz node_modules/ + - name: Upload deps artifacts + uses: actions/upload-artifact@v3 + with: + name: node_modules.tar.gz + path: node_modules.tar.gz # TEST test: @@ -38,6 +39,13 @@ jobs: DISPLAY: :0 VITEST_SEGFAULT_RETRY: 3 steps: + - uses: actions/checkout@v3 + - name: Download deps cache artifacts + uses: actions/download-artifact@v3 + with: + name: node_modules.tar.gz + - name: Unzip node_modules + run: tar xzf node_modules.tar.gz - name: Run tests continue-on-error: true uses: actions/setup-node@v3