From 9a15ac58061ab50f4d2318cef38e5a8780c44cb8 Mon Sep 17 00:00:00 2001 From: Michael Chin Date: Fri, 24 Feb 2023 23:35:45 -0800 Subject: [PATCH] Pin node version in unit.yml --- .github/workflows/unit.yml | 4 ++++ src/graph_notebook/widgets/package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index c867483e..4b05a5c4 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -12,6 +12,10 @@ jobs: uses: actions/setup-python@v2 with: python-version: 3.7 + - name: Set up Node.js 14.x + uses: actions/setup-node@v3 + with: + node-version: 14.17.4 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/src/graph_notebook/widgets/package.json b/src/graph_notebook/widgets/package.json index 052cd66b..c3d664b3 100644 --- a/src/graph_notebook/widgets/package.json +++ b/src/graph_notebook/widgets/package.json @@ -87,7 +87,7 @@ "build:labextension": "jupyter labextension build .", "build:labextension:dev": "jupyter labextension build --development True .", "build:lib": "tsc", - "build:nbextension": "NODE_OPTIONS=--openssl-legacy-provider webpack", + "build:nbextension": "webpack", "clean": "npm run clean:lib && npm run clean:nbextension && npm run clean:labextension", "clean:lib": "rimraf lib", "clean:labextension": "rimraf labextension",