build: move the dashboard and e2e packages from npm to pnpm
This commit is contained in:
16 files changed
+2700
-3644
No files matched your search
@@ -59,6 +59,10 @@ jobs:
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
package_json_file: ui/package.json
|
||||
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
@@ -123,8 +127,8 @@ jobs:
|
||||
# someone remembers to; the Go steps above never touch it.
|
||||
- name: Dashboard tests
|
||||
run: |
|
||||
npm ci --prefix ui || npm install --prefix ui
|
||||
npm test --prefix ui
|
||||
pnpm --dir ui install --frozen-lockfile
|
||||
pnpm --dir ui test
|
||||
|
||||
- name: Release tags must match changelogs
|
||||
run: |
|
||||
|
||||
@@ -31,11 +31,15 @@ jobs:
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
package_json_file: ui/package.json
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "24"
|
||||
cache: npm
|
||||
cache-dependency-path: ui/package-lock.json
|
||||
cache: pnpm
|
||||
cache-dependency-path: ui/pnpm-lock.yaml
|
||||
|
||||
- name: Install quality tools
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user