From 153b007387618e34e1d5dc7fd82d49722783e757 Mon Sep 17 00:00:00 2001 From: nugaon <50576770+nugaon@users.noreply.github.com> Date: Tue, 14 Dec 2021 14:18:39 +0100 Subject: [PATCH] fix(build): bee-dashboard component building (#267) * fix(build): lib * ci: build component check * fix(ci): typeo npm run * ci: add types build check --- .babelrc.js | 1 + .github/workflows/check.yaml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.babelrc.js b/.babelrc.js index 0bc92ec..bdc0981 100644 --- a/.babelrc.js +++ b/.babelrc.js @@ -35,6 +35,7 @@ module.exports = function (api) { "tsconfig": "tsconfig.lib.json", } ], + "@babel/plugin-proposal-numeric-separator", "syntax-dynamic-import", '@babel/plugin-proposal-class-properties', [ diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 2b07565..24e6965 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -55,6 +55,9 @@ jobs: - name: Types check run: npm run check:types + - name: Types build + run: npm run compile:types + - name: Dependency check run: npm run depcheck @@ -66,6 +69,9 @@ jobs: - name: Build run: npm run build + + - name: Build Component + run: npm run build:component - name: Create preview uses: ethersphere/beeload-action@v1