diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 92270a0..8550ece 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -15,6 +15,16 @@ jobs: with: node-version: "20" + - name: Cache node modules + uses: actions/cache@v4 + with: + path: | + node_modules + ~/.cache/yarn + key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} + restore-keys: | + ${{ runner.os }}-yarn- + - name: E2E Test run: yarn && yarn test e2e env: diff --git a/.github/workflows/pull-request.yaml b/.github/workflows/pull-request.yaml index 3fbe2b1..57bf318 100644 --- a/.github/workflows/pull-request.yaml +++ b/.github/workflows/pull-request.yaml @@ -18,7 +18,7 @@ jobs: node-version: "20" - name: Cache node modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | node_modules