From 40db1aaa0eb4158bc8968882e087a48a799cd78f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Sat, 7 May 2022 14:17:57 +0100 Subject: [PATCH] fix(ci): workaround broken source-map-explorer on node 18.x --- .github/workflows/test.yml | 2 +- ui/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 79de47259..74f9c72d9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -350,7 +350,7 @@ jobs: - name: Set up Node JS uses: actions/setup-node@v3 with: - node-version: 17.9.0 + node-version: 18.1.0 cache: 'npm' cache-dependency-path: 'ui/package-lock.json' diff --git a/ui/package.json b/ui/package.json index d2b263237..3d5189828 100644 --- a/ui/package.json +++ b/ui/package.json @@ -102,7 +102,7 @@ "test": "react-scripts test", "storybook": "start-storybook", "snapshot": "build-storybook --quiet && percy storybook --verbose ./storybook-static", - "analyze": "npx source-map-explorer 'build/static/js/*.js'" + "analyze": "NODE_OPTIONS=--no-experimental-fetch npx source-map-explorer 'build/static/js/*.js'" }, "jest": { "collectCoverageFrom": [