Skip to content

Commit 30e2164

Browse files
committed
fix: fix test lib and undo pipeline changes
1 parent 3c749ae commit 30e2164

5 files changed

Lines changed: 103 additions & 90 deletions

File tree

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,7 @@ jobs:
144144
# ---- Frontend setup ----
145145
- name: Install frontend dependencies
146146
working-directory: Clients
147-
run: npm cache clean --force && rm -rf node_modules && npm install --legacy-peer-deps
148-
149-
- name: Rebuild native modules
150-
working-directory: Clients
151-
run: npm rebuild @swc/core
147+
run: npm ci --legacy-peer-deps
152148

153149
- name: Install Playwright browsers
154150
working-directory: Clients

.github/workflows/frontend-checks.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,8 @@ jobs:
6262
with:
6363
node-version: '20'
6464

65-
- name: Clean cache
66-
run: npm cache clean --force
67-
6865
- name: Install dependencies
69-
run: rm -rf node_modules && npm install --legacy-peer-deps
70-
71-
- name: Rebuild native modules
72-
run: npm rebuild @swc/core
66+
run: npm ci --legacy-peer-deps
7367

7468
- name: Run tests with coverage
7569
run: npx vitest run --coverage

Clients/package-lock.json

Lines changed: 99 additions & 76 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Clients/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"@tiptap/react": "^3.22.2",
5858
"@tiptap/starter-kit": "^3.22.2",
5959
"@types/katex": "^0.16.7",
60-
"@vitejs/plugin-react-swc": "^4.3.0",
60+
"@vitejs/plugin-react": "^4.3.0",
6161
"@xyflow/react": "^12.10.2",
6262
"axios": "^1.14.0",
6363
"canvas-confetti": "^1.9.4",

Clients/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import svgr from "@svgr/rollup";
2-
import react from "@vitejs/plugin-react-swc";
2+
import react from "@vitejs/plugin-react";
33
import path from "path";
44
import { defineConfig } from "vitest/config";
55
import { version } from "../version.json";

0 commit comments

Comments
 (0)