Skip to content

Commit b93f8c5

Browse files
Fix test pipelines
1 parent c3b3def commit b93f8c5

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/test.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,26 @@ jobs:
4545
cd tests
4646
bats *.bats
4747
48+
- name: Setup Node.js
49+
uses: actions/setup-node@v6
50+
with:
51+
node-version: '22'
52+
53+
- name: Enable Corepack
54+
run: corepack enable
55+
56+
- name: Install JS dependencies
57+
run: |
58+
echo "Installing JavaScript dependencies..."
59+
cd js
60+
yarn install --immutable
61+
62+
- name: Run vitest tests
63+
run: |
64+
echo "Running vitest test suite..."
65+
cd js
66+
yarn test
67+
4868
- name: Test entry.zsh loading
4969
run: |
5070
echo "Testing entry.zsh configuration flag handling..."
@@ -69,7 +89,7 @@ jobs:
6989
7090
- name: Upload test results
7191
if: always()
72-
uses: actions/upload-artifact@v3
92+
uses: actions/upload-artifact@v5
7393
with:
7494
name: test-results
7595
path: tests/*.bats

0 commit comments

Comments
 (0)