Skip to content

Commit 5bb2a21

Browse files
committed
chore(WIP): debugging
1 parent 0a5fbd4 commit 5bb2a21

File tree

2 files changed

+27
-23
lines changed

2 files changed

+27
-23
lines changed

.github/workflows/build-test.yml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-20.04]
12-
node: [20, 22]
12+
node: [22]
1313
name: ${{ matrix.os }} and node ${{ matrix.node }}
1414
steps:
1515
- uses: actions/checkout@v2
@@ -21,26 +21,26 @@ jobs:
2121
run: |
2222
npm ci
2323
sudo apt-get install xvfb
24-
- name: Build
25-
run: npm run build:release
26-
- name: Archive build output
27-
if: github.event_name != 'merge_group'
28-
uses: actions/upload-artifact@v4
29-
with:
30-
name: build-results-${{ matrix.runs_on }}-node_${{ matrix.node }}
31-
path: dist
32-
retention-days: 15
33-
- name: Validate generated typescript definitions
34-
run: |
35-
npx tsc -p tsconfig.esm-check.json
36-
npx tsc -p tsconfig.umd-check.json
24+
# - name: Build
25+
# run: npm run build:release
26+
# - name: Archive build output
27+
# if: github.event_name != 'merge_group'
28+
# uses: actions/upload-artifact@v4
29+
# with:
30+
# name: build-results-${{ matrix.runs_on }}-node_${{ matrix.node }}
31+
# path: dist
32+
# retention-days: 15
33+
# - name: Validate generated typescript definitions
34+
# run: |
35+
# npx tsc -p tsconfig.esm-check.json
36+
# npx tsc -p tsconfig.umd-check.json
3737
- name: Chrome and Firefox tests
3838
run: xvfb-run --auto-servernum npm run test -- --browsers Chrome,Firefox
39-
- name: Archive test results
40-
if: github.event_name != 'merge_group' && (success() || failure())
41-
uses: actions/upload-artifact@v4
42-
continue-on-error: true
43-
with:
44-
name: test-results-${{ matrix.runs_on }}-node_${{ matrix.node }}
45-
path: Utilities/TestResults/Test-Report.html
46-
retention-days: 15
39+
# - name: Archive test results
40+
# if: github.event_name != 'merge_group' && (success() || failure())
41+
# uses: actions/upload-artifact@v4
42+
# continue-on-error: true
43+
# with:
44+
# name: test-results-${{ matrix.runs_on }}-node_${{ matrix.node }}
45+
# path: Utilities/TestResults/Test-Report.html
46+
# retention-days: 15

Sources/Testing/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,9 @@ import './setupTestEnv';
99

1010
// webpack will include files that match the regex
1111
// '..' refers to the Sources/ dir
12-
const testsContext = require.context('..', true, /test[^/]*\.js$/);
12+
const testsContext = require.context(
13+
'..',
14+
true,
15+
/Rendering\/Core\/M.*test[A-Za-z]+\.js$/
16+
);
1317
testsContext.keys().forEach(testsContext);

0 commit comments

Comments
 (0)