ci: install vp globally
This commit is contained in:
parent
28ba8657f9
commit
d213d3546a
3 changed files with 8 additions and 3 deletions
|
|
@ -14,6 +14,11 @@ runs:
|
|||
with:
|
||||
bun-version: "1.3.11"
|
||||
|
||||
- uses: voidzero-dev/setup-vp@v1
|
||||
with:
|
||||
node-version: '24'
|
||||
cache: true
|
||||
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: sfw bun install --frozen-lockfile
|
||||
run: sfw vp install --frozen-lockfile
|
||||
|
|
|
|||
2
.github/workflows/checks.yml
vendored
2
.github/workflows/checks.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
|
||||
- name: Run lint
|
||||
shell: bash
|
||||
run: bun run lint -- --deny-warnings
|
||||
run: vp lint --type-aware --deny-warnings
|
||||
|
||||
typecheck:
|
||||
timeout-minutes: 10
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
"scripts": {
|
||||
"postinstall": "vp config",
|
||||
"fmt": "vp fmt",
|
||||
"lint": "bunx --bun vp lint",
|
||||
"lint": "vp lint --type-aware",
|
||||
"dev": "NODE_ENV=development bunx --bun vite",
|
||||
"build": "vite build",
|
||||
"start": "bun run .output/server/index.mjs",
|
||||
|
|
|
|||
Loading…
Reference in a new issue