We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent baeabb6 commit 9dd7d00Copy full SHA for 9dd7d00
.github/workflows/size.yml
@@ -0,0 +1,17 @@
1
+name: "output size"
2
+
3
+on:
4
+ push:
5
+ branches: ["main"]
6
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - uses: samueldr/lix-gha-installer-action@v1
13
+ - run: nix develop -c ci/build.sh
14
+ - name: network size
15
+ run: ls dist/*/*.{br,woff2} | sort -t/ -sk3,3 | xargs du --apparent-size -ch
16
+ - name: estimated memory size (data only)
17
+ run: ls dist/*/*.bin | sort -t/ -sk3,3 | xargs du --apparent-size -ch
ci/build.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+npm install
+make init
+make init-nixos
+make assets
+npm run build
0 commit comments