File tree Expand file tree Collapse file tree 2 files changed +34
-30
lines changed
Expand file tree Collapse file tree 2 files changed +34
-30
lines changed Original file line number Diff line number Diff line change @@ -58,43 +58,16 @@ jobs:
5858
5959 - name : Configuration
6060 run : |
61+ store=find . -path "*package.json" -not -path "./package.json" -type f | wc -l | xargs > ../count/npm
6162 echo "COREPACK_ENABLE_STRICT: ${{ env.COREPACK_ENABLE_STRICT }}"
6263 echo "COREPACK_ENABLE_AUTO_PIN: ${{ env.COREPACK_ENABLE_AUTO_PIN }}"
6364 echo "YARN_ENABLE_IMMUTABLE_INSTALLS: ${{ env.YARN_ENABLE_IMMUTABLE_INSTALLS }}"
6465
6566 - name : Run Project Benchmarks (Next)
6667 run : |
6768 cd next
68- hyperfine --export-json=../next.json --warmup 3 --runs 10 -i --prepare ' \
69- rm -rf ./node_modules/; \
70- rm -rf .npm*; \
71- rm -rf .yarn*; \
72- rm -rf .pnp*; \
73- rm -rf .vlt*; \
74- rm -rf package-lock.json; \
75- rm -rf yarn.lock; \
76- rm -rf pnpm-lock.yaml; \
77- rm -rf vlt-lock.json; \
78- rm -rf bun.lockb; \
79- rm -rf deno.lock; \
80- npm cache clean --force; \
81- yarn@1 cache clean --all; \
82- yarn@latest cache clean --all; \
83- pnpm cache delete *; \
84- rm -rf $(vlt config get cache); \
85- rm -rf $(bun pm cache); \
86- deno clean; \
87- npm pkg delete packageManager; \
88- git add .; \
89- git stash' \
90- 'npm install --no-audit --no-fund' \
91- 'corepack yarn@1 install' \
92- 'corepack yarn@latest install' \
93- 'corepack pnpm@latest install' \
94- 'vlt install' \
95- 'bun install' \
96- 'deno install --allow-scripts'
97-
69+ bash ../../scripts/run.sh
70+
9871 - name : Run Project Benchmarks (Astro)
9972 run : |
10073 cd astro
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ hyperfine --export-json=../next.json --warmup 3 --runs 10 -i --prepare ' \
4+ rm -rf ./node_modules/; \
5+ rm -rf .npm*; \
6+ rm -rf .yarn*; \
7+ rm -rf .pnp*; \
8+ rm -rf .vlt*; \
9+ rm -rf package-lock.json; \
10+ rm -rf yarn.lock; \
11+ rm -rf pnpm-lock.yaml; \
12+ rm -rf vlt-lock.json; \
13+ rm -rf bun.lockb; \
14+ rm -rf deno.lock; \
15+ npm cache clean --force; \
16+ yarn@1 cache clean --all; \
17+ yarn@latest cache clean --all; \
18+ pnpm cache delete *; \
19+ rm -rf $(vlt config get cache); \
20+ rm -rf $(bun pm cache); \
21+ deno clean; \
22+ npm pkg delete packageManager; \
23+ git add .; \
24+ git stash' \
25+ ' npm install --no-audit --no-fund' \
26+ ' corepack yarn@1 install' \
27+ ' corepack yarn@latest install' \
28+ ' corepack pnpm@latest install' \
29+ ' vlt install' \
30+ ' bun install' \
31+ ' deno install --allow-scripts'
You can’t perform that action at this time.
0 commit comments