Skip to content

Commit 78fe5d7

Browse files
authored
Merge pull request #204 from csandman/package-size-report
Add the Package Size GH Action
2 parents 0c646f6 + 4347e3a commit 78fe5d7

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Package Size Report
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
pkg-size-report:
9+
name: Package Size Report
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: "16" # ⬅ Specify a version of Node.js to build your app
20+
21+
- name: Package size report
22+
uses: pkg-size/action@v1
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)