Skip to content

Commit 1b65720

Browse files
committed
Also test legacy build in installation test
1 parent bcd169b commit 1b65720

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ jobs:
578578
working-directory: ${{ steps.tmp-dir.outputs.path }}
579579

580580
- name: Test installation
581-
run: npx rescript -h && npx rescript build && cat src/Test.res.js
581+
run: npx rescript -h && npx rescript build && cat src/Test.res.js && npx rescript clean && npx rescript legacy build
582582
shell: bash
583583
working-directory: ${{ steps.tmp-dir.outputs.path }}
584584

@@ -633,7 +633,7 @@ jobs:
633633
working-directory: ${{ steps.tmp-dir.outputs.path }}
634634

635635
- name: Test installation
636-
run: pnpm rescript -h && pnpm rescript build && cat src/Test.res.js
636+
run: pnpm rescript -h && pnpm rescript build && cat src/Test.res.js && pnpm rescript clean && pnpm rescript legacy build
637637
shell: bash
638638
working-directory: ${{ steps.tmp-dir.outputs.path }}
639639

0 commit comments

Comments
 (0)