From 419403aa57223f9f800b64fe656cf2ae7b820dd0 Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 26 Aug 2020 23:01:22 +0200 Subject: [PATCH] Add size-limit GitHub Action --- .github/workflows/size.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/size.yml diff --git a/.github/workflows/size.yml b/.github/workflows/size.yml new file mode 100644 index 0000000..908654d --- /dev/null +++ b/.github/workflows/size.yml @@ -0,0 +1,21 @@ +name: "size" +on: + pull_request: + branches: [ master ] + +jobs: + size: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Using Node.js 10 + uses: actions/setup-node@v1 + with: + node-version: 10.x + - name: Install + run: npm ci + - uses: andresz1/size-limit-action@v1.4.0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + skip_step: install \ No newline at end of file