2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

chore(ci): add local HTTP server for Karma tests; (#7022)

This commit is contained in:
Dmitriy Mozgovoy
2025-09-13 17:50:32 +03:00
committed by GitHub
parent 19f9f36850
commit 9fb41a8fcd
6 changed files with 133 additions and 5 deletions
+8 -1
View File
@@ -59,5 +59,12 @@ jobs:
if: steps.changed-ignored.outputs.only_modified == 'false'
- run: npm run build
if: steps.changed-ignored.outputs.only_modified == 'false'
- run: npm test
- name: Run Server tests
run: npm run test:node
if: steps.changed-ignored.outputs.only_modified == 'false'
# We run browser tests only on one version of the node, since client tests do not depend on the server environment.
- name: Run browser tests
run: npm run test:browser
if: steps.changed-ignored.outputs.only_modified == 'false' && matrix.node-version == '22.x'
- name: Run package tests
run: npm run test:package