File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Package Size Report
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - main
7
+
8
+ jobs :
9
+ pkg-size-report :
10
+ name : Package Size Report
11
+ runs-on : ubuntu-latest
12
+
13
+ steps :
14
+ - name : Checkout
15
+ uses : actions/checkout@v4
16
+
17
+ - name : Setup Node.js
18
+ uses : actions/setup-node@v4
19
+ with :
20
+ node-version : ' 18.x'
21
+ cache : ' npm'
22
+ cache-dependency-path : ' **/package-lock.json'
23
+ - name : Install Deno
24
+ uses : denoland/setup-deno@v1
25
+ with :
26
+ # Should match the `DENO_VERSION_RANGE` from https://github.com/netlify/edge-bundler/blob/main/node/bridge.ts#L17
27
+ deno-version : v1.37.0
28
+ - run : npm ci
29
+
30
+ - name : Package size report
31
+ uses : pkg-size/action@v1
32
+ env :
33
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34
+ with :
35
+ display-size : uncompressed, gzip
You can’t perform that action at this time.
0 commit comments