Skip to content

Commit

Permalink
Merge pull request #204 from csandman/package-size-report
Browse files Browse the repository at this point in the history
Add the Package Size GH Action
  • Loading branch information
csandman committed Oct 13, 2022
2 parents 0c646f6 + 4347e3a commit 78fe5d7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/package-size-report.yml
@@ -0,0 +1,24 @@
name: Package Size Report

on:
pull_request:
branches: [main]

jobs:
pkg-size-report:
name: Package Size Report
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "16" # ⬅ Specify a version of Node.js to build your app

- name: Package size report
uses: pkg-size/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 78fe5d7

Please sign in to comment.