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:
|
with:
|
||||||
bun-version: "1.3.11"
|
bun-version: "1.3.11"
|
||||||
|
|
||||||
|
- uses: voidzero-dev/setup-vp@v1
|
||||||
|
with:
|
||||||
|
node-version: '24'
|
||||||
|
cache: true
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
shell: bash
|
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
|
- name: Run lint
|
||||||
shell: bash
|
shell: bash
|
||||||
run: bun run lint -- --deny-warnings
|
run: vp lint --type-aware --deny-warnings
|
||||||
|
|
||||||
typecheck:
|
typecheck:
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "vp config",
|
"postinstall": "vp config",
|
||||||
"fmt": "vp fmt",
|
"fmt": "vp fmt",
|
||||||
"lint": "bunx --bun vp lint",
|
"lint": "vp lint --type-aware",
|
||||||
"dev": "NODE_ENV=development bunx --bun vite",
|
"dev": "NODE_ENV=development bunx --bun vite",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
"start": "bun run .output/server/index.mjs",
|
"start": "bun run .output/server/index.mjs",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue