Skip to content

Commit 1050642

Browse files
authored
Merge pull request #12 from shoptet/claude/add-unit-test-job-in-pr-check
[WIP] Add viest PHP command as unit test job in pr-check.yml
2 parents 8a268c8 + 0e0718b commit 1050642

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/pr-check.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,27 @@ on:
66
- main
77

88
jobs:
9+
unit-tests:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: '24'
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Run unit tests
25+
run: npm run test
26+
927
test-coverage-action:
1028
runs-on: ubuntu-latest
29+
needs: unit-tests
1130

1231
steps:
1332
- name: Checkout code

0 commit comments

Comments
 (0)