From 523161cce90c2ab2bce02dddb013039db8abf1a5 Mon Sep 17 00:00:00 2001 From: "@UhLukas" <119970521+UhLukas@users.noreply.github.com> Date: Mon, 4 May 2026 19:00:22 +0100 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 39 ++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ad52f677..3f929d5c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,46 +10,61 @@ jobs: install: runs-on: ubuntu-latest steps: - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + + - uses: actions/setup-node@v3 with: node-version: 16.x - - uses: actions/checkout@v2 - - uses: actions/cache@v2 + cache: npm + + - uses: actions/cache@v3 with: path: node_modules - key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }} + key: ${{ runner.os }}-node-16.x-${{ hashFiles('package-lock.json') }} + - run: npm install + test: runs-on: ubuntu-latest needs: [install] steps: - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + + - uses: actions/setup-node@v3 with: node-version: 16.x - - uses: actions/checkout@v2 - - uses: actions/cache@v2 + cache: npm + + - uses: actions/cache@v3 with: path: node_modules - key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }} + key: ${{ runner.os }}-node-16.x-${{ hashFiles('package-lock.json') }} + - run: npm install - run: npm run lint:format - run: npm run lint - run: npm run build - run: npm run test:ci + cypress: runs-on: ubuntu-latest needs: [install] steps: - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + + - uses: actions/setup-node@v3 with: node-version: 16.x - - uses: actions/checkout@v2 - - uses: actions/cache@v2 + cache: npm + + - uses: actions/cache@v3 with: path: node_modules - key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }} + key: ${{ runner.os }}-node-16.x-${{ hashFiles('package-lock.json') }} + - run: npm install - run: npm run build:cypress + - name: Cypress run uses: cypress-io/github-action@v4 with: