mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-21 16:29:40 +02:00
Change path
This commit is contained in:
12
.github/workflows/e2e.yml
vendored
12
.github/workflows/e2e.yml
vendored
@@ -205,12 +205,12 @@ jobs:
|
|||||||
id: runtime
|
id: runtime
|
||||||
if: ${{ needs.e2e.result != 'failure' && github.event_name == 'pull_request' }}
|
if: ${{ needs.e2e.result != 'failure' && github.event_name == 'pull_request' }}
|
||||||
run: |
|
run: |
|
||||||
ls -l cypress/snapshots/runtimes
|
ls -l ./snapshots/runtimes
|
||||||
mv cypress/snapshots/runtimes cypress/snapshots/runtimes/head
|
mv ./snapshots/runtimes ./snapshots/runtimes/head
|
||||||
ls -l cypress/snapshots/runtimes
|
ls -l ./snapshots/runtimes
|
||||||
ls -l cypress/snapshots/runtimes/base
|
ls -l ./snapshots/runtimes/base
|
||||||
ls -l cypress/snapshots/runtimes/head
|
ls -l ./snapshots/runtimes/head
|
||||||
tree cypress/snapshots/runtimes
|
tree ./snapshots/runtimes
|
||||||
npm config set ignore-scripts true
|
npm config set ignore-scripts true
|
||||||
pnpm install --frozen-lockfile
|
pnpm install --frozen-lockfile
|
||||||
{
|
{
|
||||||
|
@@ -56,8 +56,8 @@ const percentageDifference = (
|
|||||||
};
|
};
|
||||||
|
|
||||||
const main = async () => {
|
const main = async () => {
|
||||||
const oldStats = await readStats('./cypress/snapshots/runtimes/base/**/*.csv');
|
const oldStats = await readStats('./snapshots/runtimes/base/**/*.csv');
|
||||||
const newStats = await readStats('./cypress/snapshots/runtimes/head/**/*.csv');
|
const newStats = await readStats('./snapshots/runtimes/head/**/*.csv');
|
||||||
const fullData: string[][] = [];
|
const fullData: string[][] = [];
|
||||||
const changed: string[][] = [];
|
const changed: string[][] = [];
|
||||||
for (const [fileName, runtimes] of Object.entries(newStats)) {
|
for (const [fileName, runtimes] of Object.entries(newStats)) {
|
||||||
|
Reference in New Issue
Block a user