Skip to content

Commit 20b7d07

Browse files
committed
chore: run regression suite in ci
Ignore local MaxMind MMDB files and wire npm test plus runtime bundle verification into test and publish workflows.
1 parent 3533aa8 commit 20b7d07

3 files changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/semantic-release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,18 @@ jobs:
4141
- name: Install dependencies
4242
run: npm install
4343

44+
- name: Run regression test suite
45+
run: npm test
46+
4447
- name: Build plugin
4548
run: npm run build
4649

4750
- name: Verify plugin
4851
run: npm run verify
4952

53+
- name: Verify server runtime bundle
54+
run: npm run verify:runtime
55+
5056
# No NPM_TOKEN: publish happens via OIDC Trusted Publishing.
5157
# Requires a Trusted Publisher configured on npmjs.com for this package
5258
# (Package > Settings > Trusted Publisher: this repo + semantic-release.yml).

.github/workflows/test.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,18 @@ jobs:
2929
- name: Install dependencies
3030
run: npm install
3131

32+
- name: Run regression test suite
33+
run: npm test
34+
3235
- name: Build plugin
3336
run: npm run build
3437

3538
- name: Verify plugin integrity
3639
run: npm run verify
3740

41+
- name: Verify server runtime bundle
42+
run: npm run verify:runtime
43+
3844
- name: Verify build output
3945
run: |
4046
echo "Checking admin build..."
@@ -73,4 +79,3 @@ jobs:
7379
test -f "README.md" && echo "✓ README.md found" || exit 1
7480
test -f "LICENSE" && echo "✓ LICENSE found" || exit 1
7581
echo "✓ All required files present"
76-

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,8 @@ tmp/
7070

7171
# Local agent archive
7272
.archive/
73+
.serena/
74+
75+
# Local GeoIP databases downloaded from MaxMind
76+
*.mmdb
77+
*.mmdb.metadata.json

0 commit comments

Comments
 (0)