mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 07:41:43 -05:00
Merge pull request #4684 from penpot/superalex-speed-up-e2e-testing
✨ Speed up e2e testing
This commit is contained in:
commit
da40d662be
4 changed files with 7 additions and 1 deletions
|
@ -108,7 +108,7 @@ jobs:
|
||||||
command: |
|
command: |
|
||||||
yarn install
|
yarn install
|
||||||
yarn run compile
|
yarn run compile
|
||||||
yarn run compile:cljs
|
clojure -M:dev:shadow-cljs release main
|
||||||
yarn playwright install --with-deps chromium
|
yarn playwright install --with-deps chromium
|
||||||
yarn e2e:test
|
yarn e2e:test
|
||||||
|
|
||||||
|
|
|
@ -90,6 +90,7 @@
|
||||||
"workerpool": "^9.1.1"
|
"workerpool": "^9.1.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"compression": "^1.7.4",
|
||||||
"date-fns": "^3.6.0",
|
"date-fns": "^3.6.0",
|
||||||
"eventsource-parser": "^1.1.2",
|
"eventsource-parser": "^1.1.2",
|
||||||
"highlight.js": "^11.9.0",
|
"highlight.js": "^11.9.0",
|
||||||
|
|
|
@ -1,10 +1,14 @@
|
||||||
import express from "express";
|
import express from "express";
|
||||||
|
import compression from "compression";
|
||||||
|
|
||||||
import { fileURLToPath } from "url";
|
import { fileURLToPath } from "url";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
const port = 3000;
|
const port = 3000;
|
||||||
|
|
||||||
|
app.use(compression());
|
||||||
|
|
||||||
const staticPath = path.join(fileURLToPath(import.meta.url), "../../resources/public");
|
const staticPath = path.join(fileURLToPath(import.meta.url), "../../resources/public");
|
||||||
app.use(express.static(staticPath));
|
app.use(express.static(staticPath));
|
||||||
|
|
||||||
|
|
|
@ -7924,6 +7924,7 @@ __metadata:
|
||||||
"@types/node": "npm:^20.11.20"
|
"@types/node": "npm:^20.11.20"
|
||||||
animate.css: "npm:^4.1.1"
|
animate.css: "npm:^4.1.1"
|
||||||
autoprefixer: "npm:^10.4.19"
|
autoprefixer: "npm:^10.4.19"
|
||||||
|
compression: "npm:^1.7.4"
|
||||||
concurrently: "npm:^8.2.2"
|
concurrently: "npm:^8.2.2"
|
||||||
date-fns: "npm:^3.6.0"
|
date-fns: "npm:^3.6.0"
|
||||||
draft-js: "git+https://github.com/penpot/draft-js.git#commit=4a99b2a6020b2af97f6dc5fa1b4275ec16b559a0"
|
draft-js: "git+https://github.com/penpot/draft-js.git#commit=4a99b2a6020b2af97f6dc5fa1b4275ec16b559a0"
|
||||||
|
|
Loading…
Add table
Reference in a new issue