fix(vite)

closes #4495
This commit is contained in:
Jacob Heider 2023-12-19 14:28:06 -05:00 committed by Jacob Heider
parent 3ccd5ebe71
commit 2cddcad209

View file

@ -8,7 +8,7 @@ versions:
build: build:
dependencies: dependencies:
pnpm.io: "*" pnpm.io: '*'
nodejs.org: ^16 || ^18 || ^20 nodejs.org: ^16 || ^18 || ^20
deno.land: ^1.39 # Required deno.land: ^1.39 # Required
script: script:
@ -27,7 +27,7 @@ build:
# Required because it'll fail but still generate the required files # Required because it'll fail but still generate the required files
pnpm build || true pnpm build || true
working-directory: packages/vite working-directory: packages/vite
- rm -rf node_modules - rm -rf node_modules
- pnpm i - pnpm i
@ -37,6 +37,7 @@ build:
skip: fix-patchelf skip: fix-patchelf
test: test:
- ls -Rl "{{prefix}}"
- vite --version - vite --version
- test "$(vite --version | grep -o 'vite/[^ ]*')" = "vite/{{version.raw}}" - test "$(vite --version | grep -o 'vite/[^ ]*')" = "vite/{{version.raw}}"