We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 309d127 commit 101aea6Copy full SHA for 101aea6
.github/workflows/size-check.yml
@@ -0,0 +1,35 @@
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
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
35
+ display-size: uncompressed, gzip
0 commit comments