From 2faa7a4dbd39aa1a43b43c6363ca2c9ce15dbc5b Mon Sep 17 00:00:00 2001 From: Ron de las Alas Date: Thu, 2 Nov 2023 10:06:38 -0400 Subject: [PATCH] ci: test restore --- .github/workflows/ci-cd.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 6b320edf2e7..c73a12805dd 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -55,7 +55,7 @@ jobs: ${{ steps.setup-chrome.outputs.chrome-path }} --version - name: Cache node modules id: cache-nodemodules - uses: actions/cache@v2 + uses: actions/cache@v3 env: cache-name: cache-node-modules with: @@ -75,22 +75,31 @@ jobs: - name: Store Lint Artifacts uses: actions/upload-artifact@v3 with: - name: android-builds + name: test-output path: ./test-results/* test-unit: needs: setup runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - run: echo "test-unit" + - name: Restore Cache + uses: actions/cache/restore@v3 + with: + path: | + ./node_modules + key: key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} build: needs: setup runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - run: echo "build" test-integration: needs: build runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - run: echo "test-integration" # - name: Setup & Test