From 04842311182d8845519ba4ea291e46cd63af3b85 Mon Sep 17 00:00:00 2001 From: Kamil Kisiela Date: Tue, 25 Jun 2019 18:54:17 +0200 Subject: [PATCH 1/5] Update main.workflow --- .github/main.workflow | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/main.workflow diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 0000000..31fd8fc --- /dev/null +++ b/.github/main.workflow @@ -0,0 +1,22 @@ +workflow "Build and Size Check" { + on = "push" + resolves = "Size" +} + +action "Install" { + uses = "actions/npm@master" + runs = "yarn" + args = "install" +} + +action "Build" { + needs = "Install" + uses = "actions/npm@master" + runs = "yarn" + args = "build" +} + +action "Size" { + needs = "Build" + uses = "kamilkisiela/size-limit@master" +} From 1e4d9cdef8c86bfa16765940c4bb87ef2fa4fc7d Mon Sep 17 00:00:00 2001 From: Kamil Kisiela Date: Tue, 25 Jun 2019 18:58:14 +0200 Subject: [PATCH 2/5] Update package.json --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index aa1da13..64c6496 100644 --- a/package.json +++ b/package.json @@ -55,5 +55,9 @@ "rxjs/operators": "rxjs.operators" } } + }, + "size-limi": { + "webpack": false, + "path": "dist/bundles/ng.apollo-network-status.umd.js" } -} \ No newline at end of file +} From fd65f64e098b307489694180af31d61deba47ffe Mon Sep 17 00:00:00 2001 From: Kamil Kisiela Date: Tue, 25 Jun 2019 19:02:48 +0200 Subject: [PATCH 3/5] Update package.json From 7f0c14d97e6fa62db825da6efd7239165228afbd Mon Sep 17 00:00:00 2001 From: Kamil Kisiela Date: Tue, 25 Jun 2019 19:05:28 +0200 Subject: [PATCH 4/5] Update package.json From 03295ef446d33c4046e4cdc540d8da29dca18f4e Mon Sep 17 00:00:00 2001 From: Kamil Kisiela Date: Tue, 25 Jun 2019 19:18:53 +0200 Subject: [PATCH 5/5] Update package.json --- package.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 64c6496..d399002 100644 --- a/package.json +++ b/package.json @@ -56,8 +56,9 @@ } } }, - "size-limi": { - "webpack": false, - "path": "dist/bundles/ng.apollo-network-status.umd.js" - } + "size-limit": [ + { + "path": "dist/bundles/ng.apollo-network-status.umd.js" + } + ] }