diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 3c65b4d..6c8042a 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -85,7 +85,7 @@ jobs: working-directory: sphinx-ui/react run: | echo "🔨 Generating UI assets..." - npm install + npm ci npm run lint npm run build cp ./build/injectNav.iife.js ../quantinuum_sphinx/static/injectNav.iife.js diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b60423d..72abc11 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -146,7 +146,7 @@ jobs: NEXT_PUBLIC_GA_ID: "G-YPQ1FTGDL3" run: | echo "🔨 Generating UI assets..." - npm install + npm ci npm run lint npm run build cp ./build/injectNav.iife.js ../quantinuum_sphinx/static/injectNav.iife.js diff --git a/sphinx-ui/react/.npmrc b/sphinx-ui/react/.npmrc new file mode 100644 index 0000000..c7d3517 --- /dev/null +++ b/sphinx-ui/react/.npmrc @@ -0,0 +1 @@ +install-links=true