From f1527fca2bff05d87c1d53891608e3647200b4bc Mon Sep 17 00:00:00 2001 From: rajimtri Date: Tue, 26 Dec 2023 14:41:51 +0530 Subject: [PATCH] wf changes --- .github/workflows/e2e.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 5af0e63..6a2e060 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -11,17 +11,30 @@ jobs: #defaults: # run: # working-directory: tests + defaults: + run: + working-directory: tests + + strategy: + matrix: + node-version: [20.x] + steps: - uses: actions/checkout@v3 - - uses: cypress-io/github-action@v5 + - uses: actions/setup-node@v3 with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + cache-dependency-path: tests/package-lock.json + - uses: cypress-io/github-action@v5 + #with: #build : npm run build #start : npm start #browser: firefox #start: npm start #record: true - working-directory: tests + #working-directory: tests - uses: actions/upload-artifact@v3 # add the line below to store screenshots only on failures if: failure()