Skip to content

Commit 910ff40

Browse files
authored
Merge pull request #70 from codebtech/chore/playwright-ci-report
Fix playwright artifacts
2 parents 997ecbb + 308802b commit 910ff40

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/e2e.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,9 @@ jobs:
4646
run: yarn wp-env
4747

4848
- name: Run Playwright tests
49-
run: npx playwright test --reporter=github
49+
run: npx playwright test
5050

5151
- uses: actions/upload-artifact@v4
52-
if: always()
5352
with:
5453
name: playwright-report
5554
path: playwright-report/

src/components/snippets/TsSupport.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ export {};`;
2424
<h3>{__('TypeScript support', 'codeb-feature-flags')}</h3>
2525
<p>
2626
Create a file named{' '}
27-
<span className="codeb-feature-flags-filename">flags.d.ts</span> at
28-
the entrypoint of TypeScript code for the plugin/theme ( usually
29-
<span className="codeb-feature-flags-slug"> src</span> directory )
30-
and add the following declaration.
27+
<span className="codeb-feature-flags-filename">flags.d.ts</span>{' '}
28+
at the entrypoint of TypeScript code for the plugin/theme (
29+
usually
30+
<span className="codeb-feature-flags-slug"> src</span> directory
31+
) and add the following declaration.
3132
</p>
3233
<Clipboard text={tsSnippet} />
3334
<Snippet data={tsSnippet} language={'typescript'} />

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"compilerOptions": {
33
"outDir": "./build",
44
"jsx": "react-jsx",
5-
"module": "ESNext",
5+
"module": "NodeNext",
66
"target": "es2022",
7-
"moduleResolution": "node",
7+
"moduleResolution": "NodeNext",
88
"resolveJsonModule": true,
99
"sourceMap": true,
1010
"noImplicitAny": true,

0 commit comments

Comments
 (0)