test(vite)[1]

This commit is contained in:
Jacob Heider 2023-12-19 15:39:22 -05:00
parent c7c932f984
commit 9342928266
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -39,10 +39,13 @@ build:
test:
dependencies:
darwinsys.com/file: '*'
linux:
strace.io: '*'
script:
- ls -l "{{prefix}}/bin"
- file "{{prefix}}/bin/vite"
- ${{prefix}}/bin/vite --version
- run: strace vite --version
if: linux
- vite --version
- test "$(vite --version | grep -o 'vite/[^ ]*')" = "vite/{{version.raw}}"