Skip to content

Commit ee80388

Browse files
committed
fix: revert
1 parent 2da1e30 commit ee80388

3 files changed

Lines changed: 8 additions & 16 deletions

File tree

.github/workflows/action-jest.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ jobs:
1414
env:
1515
ARTIFACTS_PATH: ${{ github.workspace }}/development
1616
steps:
17-
- name: Cache npm
18-
uses: actions/cache@v4
19-
with:
20-
path: ~/.npm
21-
key: ${{ runner.os }}-jest-${{ hashFiles('tests/Jest/package-lock.json') }}
22-
2317
- name: Setup extension
2418
uses: shopware/github-actions/setup-extension@main
2519
with:
@@ -36,6 +30,13 @@ jobs:
3630
}
3731
}
3832
33+
- name: Setup Node.js
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: 20
37+
cache: npm
38+
cache-dependency-path: custom/plugins/${{ inputs.extension_name }}/tests/Jest/package-lock.json
39+
3940
- name: Install Jest dependencies
4041
working-directory: custom/plugins/${{ inputs.extension_name }}/tests/Jest
4142
run: npm ci

.github/workflows/nightly.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ name: Nightly
33
on:
44
schedule:
55
- cron: '0 1 * * *'
6-
pull_request:
7-
paths:
8-
- '.github/workflows/nightly.yaml'
96
workflow_dispatch:
107

118
concurrency:
@@ -51,11 +48,7 @@ jobs:
5148
if: >-
5249
${{
5350
always() &&
54-
(
55-
github.event_name == 'schedule' ||
56-
github.event_name == 'pull_request' ||
57-
github.event_name == 'workflow_dispatch'
58-
) &&
51+
github.event_name == 'schedule' &&
5952
(
6053
needs.phpstan.result == 'failure' ||
6154
needs.phpunit.result == 'failure' ||

tests/integration/Migration/Controller/ErrorResolutionControllerTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
namespace integration\Migration\Controller;
99

10-
use PHPUnit\Framework\Attributes\CoversClass;
1110
use PHPUnit\Framework\Attributes\DataProvider;
1211
use PHPUnit\Framework\TestCase;
1312
use Shopware\Core\Defaults;
@@ -25,7 +24,6 @@
2524
* @internal
2625
*/
2726
#[Package('fundamentals@after-sales')]
28-
#[CoversClass(ErrorResolutionController::class)]
2927
class ErrorResolutionControllerTest extends TestCase
3028
{
3129
use IntegrationTestBehaviour;

0 commit comments

Comments
 (0)