Skip to content

Commit 999203a

Browse files
committed
test message
1 parent ef8c89e commit 999203a

3 files changed

Lines changed: 11 additions & 41 deletions

File tree

.github/workflows/node12-tests.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
# - On push to main branch
1919
# - Manually via workflow_dispatch
2020
#
21-
# Test results are uploaded as artifacts and stored for 7 days.
2221
# =======================================================================
2322

2423
name: Node.js 12 Tests
@@ -50,19 +49,10 @@ jobs:
5049

5150
- name: Install dependencies
5251
run: |
53-
# Remove incompatible Jest 30.x
54-
yarn remove jest
55-
# Install Jest 27.x which is compatible with Node.js 12
56-
yarn add jest@27 --dev
52+
# Install specific Jest version that's compatible with Node.js 12
53+
yarn add jest@27.5.1 ts-jest@27.1.5 @types/jest@27.5.2 --dev
54+
# Install without considering yarn.lock to ensure our custom Jest version is actually used
55+
yarn install --no-lockfile
5756
5857
- name: Run unit tests
59-
run: yarn test
60-
61-
- name: Upload test results
62-
if: always()
63-
uses: actions/upload-artifact@v4
64-
with:
65-
name: node12-test-results
66-
path: |
67-
junit.xml
68-
retention-days: 7
58+
run: yarn test

.github/workflows/node14-tests.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
# - On push to main branch
1919
# - Manually via workflow_dispatch
2020
#
21-
# Test results are uploaded as artifacts and stored for 7 days.
2221
# =======================================================================
2322

2423
name: Node.js 14 Tests
@@ -50,19 +49,10 @@ jobs:
5049

5150
- name: Install dependencies
5251
run: |
53-
# Remove incompatible Jest 30.x
54-
yarn remove jest
55-
# Install Jest 29.x which is compatible with Node.js 14
56-
yarn add jest@29 --dev
52+
# Install specific Jest version that's compatible with Node.js 14
53+
yarn add jest@29.5.0 ts-jest@29.1.0 @types/jest@29.5.0 --dev
54+
# Install without considering yarn.lock to ensure our custom Jest version is actually used
55+
yarn install --no-lockfile
5756
5857
- name: Run unit tests
59-
run: yarn test
60-
61-
- name: Upload test results
62-
if: always()
63-
uses: actions/upload-artifact@v4
64-
with:
65-
name: node14-test-results
66-
path: |
67-
junit.xml
68-
retention-days: 7
58+
run: yarn test

.github/workflows/node16-tests.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
# - On push to main branch
1919
# - Manually via workflow_dispatch
2020
#
21-
# Test results are uploaded as artifacts and stored for 7 days.
2221
# =======================================================================
2322

2423
name: Node.js 16 Tests
@@ -56,13 +55,4 @@ jobs:
5655
yarn install --no-lockfile
5756
5857
- name: Run unit tests
59-
run: yarn test
60-
61-
- name: Upload test results
62-
if: always()
63-
uses: actions/upload-artifact@v4
64-
with:
65-
name: node16-test-results
66-
path: |
67-
junit.xml
68-
retention-days: 7
58+
run: yarn test

0 commit comments

Comments
 (0)