From d1809a58ee4214752548f4ee0da258e850965404 Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Sun, 12 Dec 2021 01:13:06 +0100 Subject: [PATCH] update(workflow): use node 14 * add max space size Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com> --- .github/workflows/build-and-test.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index e82df000..c28881ad 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -19,7 +19,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - node: [16] + node: [14] steps: - name: Checkout 🛎 diff --git a/package.json b/package.json index 93413b94..d93b5e2d 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "scripts": { "prepare": "ts-patch install -s", "dev": "vite", - "build": "vite build && vue-tsc --declaration --emitDeclarationOnly && tsc && rm -rf tmp", + "build": "export NODE_OPTIONS=\"--max-old-space-size=5120\" && vite build && vue-tsc --declaration --emitDeclarationOnly && tsc && rm -rf tmp", "prepublishOnly": "yarn build", "test": "cypress run-ct", "test:open": "cypress open-ct",