0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-11 01:28:30 -05:00

Speed up e2e testing

This commit is contained in:
Alejandro Alonso 2024-06-06 07:48:41 +02:00
parent 4e0c6f847f
commit 08c3901134
4 changed files with 7 additions and 1 deletions

View file

@ -108,7 +108,7 @@ jobs:
command: |
yarn install
yarn run compile
yarn run compile:cljs
clojure -M:dev:shadow-cljs release main
yarn playwright install --with-deps chromium
yarn e2e:test

View file

@ -90,6 +90,7 @@
"workerpool": "^9.1.1"
},
"dependencies": {
"compression": "^1.7.4",
"date-fns": "^3.6.0",
"eventsource-parser": "^1.1.2",
"highlight.js": "^11.9.0",

View file

@ -1,10 +1,14 @@
import express from "express";
import compression from "compression";
import { fileURLToPath } from "url";
import path from "path";
const app = express();
const port = 3000;
app.use(compression());
const staticPath = path.join(fileURLToPath(import.meta.url), "../../resources/public");
app.use(express.static(staticPath));

View file

@ -7924,6 +7924,7 @@ __metadata:
"@types/node": "npm:^20.11.20"
animate.css: "npm:^4.1.1"
autoprefixer: "npm:^10.4.19"
compression: "npm:^1.7.4"
concurrently: "npm:^8.2.2"
date-fns: "npm:^3.6.0"
draft-js: "git+https://github.com/penpot/draft-js.git#commit=4a99b2a6020b2af97f6dc5fa1b4275ec16b559a0"