From 2ec8428a7130fe4fb0b0677b170a8a12fcb2c9f7 Mon Sep 17 00:00:00 2001 From: Jovi De Croock Date: Sun, 2 Feb 2020 23:00:00 +0100 Subject: [PATCH 1/2] compressed size action --- .github/workflows/size.yml | 14 ++++++++++++++ 1 file changed, 14 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..0a105d3 --- /dev/null +++ b/.github/workflows/size.yml @@ -0,0 +1,14 @@ +name: Compressed Size + +on: [pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2-beta + with: + fetch-depth: 1 + - uses: preactjs/compressed-size-action@v1 From 95f570e41f4e1f63b128f112a5d3530bbb828bbf Mon Sep 17 00:00:00 2001 From: Jovi De Croock Date: Sun, 2 Feb 2020 23:01:16 +0100 Subject: [PATCH 2/2] Update size.yml --- .github/workflows/size.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/size.yml b/.github/workflows/size.yml index 0a105d3..7266718 100644 --- a/.github/workflows/size.yml +++ b/.github/workflows/size.yml @@ -1,3 +1,4 @@ + name: Compressed Size on: [pull_request] @@ -12,3 +13,5 @@ jobs: with: fetch-depth: 1 - uses: preactjs/compressed-size-action@v1 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"