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",