Skip to content

Commit d623cf2

Browse files
committed
ci: make test output more visible in CI logs
1 parent c92f1b3 commit d623cf2

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/ci-cd.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,18 @@ jobs:
3737
GitHub head ref: ${{ github.head_ref }}
3838
EOF
3939
40-
- name: Setup & Test
40+
- run: npm ci
41+
42+
- name: Pre-build tests
4143
run: |
42-
npm ci
4344
npm run clean
44-
npm run test # runs on source files
45-
npm run build
46-
npm run test:build # requires build output
45+
npm run test
46+
47+
- name: Build
48+
run: npm run build
49+
50+
- name: Post-build tests
51+
run: npm run test:build
4752

4853
- name: Semantic release (configured to run dry if branch is other than 'develop')
4954
env:

0 commit comments

Comments
 (0)