chore: use vite+ (#32297)
Co-authored-by: Michael Geers <michael@geers.tv>
This commit is contained in:
parent
828f4ab2f2
commit
d07a0741ec
55 changed files with 2176 additions and 2932 deletions
7
.github/workflows/cli-docs.yml
vendored
7
.github/workflows/cli-docs.yml
vendored
|
|
@ -26,11 +26,16 @@ jobs:
|
|||
with:
|
||||
go-version-file: go.mod
|
||||
|
||||
- uses: voidzero-dev/setup-vp@v1
|
||||
with:
|
||||
node-version: "26"
|
||||
cache: true
|
||||
|
||||
- name: Generate CLI docs
|
||||
run: mkdir dist && touch dist/empty && go run main.go gendoc ./cli-docs
|
||||
|
||||
- name: Format
|
||||
run: npx prettier@3.9.4 --no-config --write "./cli-docs/**/*.md"
|
||||
run: vp fmt "./cli-docs/**/*.md"
|
||||
|
||||
- name: Deploy CLI docs to docs repo
|
||||
uses: peaceiris/actions-gh-pages@84c30a85c19949d7eee79c4ff27748b70285e453 # v4
|
||||
|
|
|
|||
16
.github/workflows/default.yml
vendored
16
.github/workflows/default.yml
vendored
|
|
@ -76,10 +76,10 @@ jobs:
|
|||
${{ runner.os }}-go-build-
|
||||
${{ runner.os }}-go-
|
||||
|
||||
- uses: actions/setup-node@v6
|
||||
- uses: voidzero-dev/setup-vp@v1
|
||||
with:
|
||||
node-version: "26"
|
||||
cache: "npm"
|
||||
cache: true
|
||||
|
||||
- run: mkdir dist && touch dist/empty
|
||||
|
||||
|
|
@ -168,10 +168,10 @@ jobs:
|
|||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- uses: actions/setup-node@v6
|
||||
- uses: voidzero-dev/setup-vp@v1
|
||||
with:
|
||||
node-version: "26"
|
||||
cache: "npm"
|
||||
cache: true
|
||||
|
||||
- name: Install
|
||||
run: make install-ui
|
||||
|
|
@ -230,10 +230,10 @@ jobs:
|
|||
${{ runner.os }}-go-integration-
|
||||
${{ runner.os }}-go-
|
||||
|
||||
- uses: actions/setup-node@v6
|
||||
- uses: voidzero-dev/setup-vp@v1
|
||||
with:
|
||||
node-version: "26"
|
||||
cache: "npm"
|
||||
cache: true
|
||||
|
||||
- name: Build UI
|
||||
run: make install-ui ui
|
||||
|
|
@ -254,11 +254,11 @@ jobs:
|
|||
|
||||
- name: Install Playwright (browsers + deps)
|
||||
if: steps.playwright-cache.outputs.cache-hit != 'true'
|
||||
run: npx playwright install --with-deps chromium
|
||||
run: vpx playwright install --with-deps chromium
|
||||
timeout-minutes: 5
|
||||
|
||||
- name: Run tests
|
||||
run: npx playwright test
|
||||
run: vpx playwright test
|
||||
timeout-minutes: 20
|
||||
env:
|
||||
TZ: Europe/Berlin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue