diff --git a/.github/workflows/build_check.yaml b/.github/workflows/build_check.yaml index 6b3a55b..49d7e58 100644 --- a/.github/workflows/build_check.yaml +++ b/.github/workflows/build_check.yaml @@ -25,5 +25,6 @@ jobs: run: | npm config set "@fortawesome:registry" https://npm.fontawesome.com/ npm config set "//npm.fontawesome.com/:_authToken" FONTAWESOME_NPM_AUTH_TOKEN + npm config set "enable-pre-post-scripts" true npm ci npm run build diff --git a/.github/workflows/push_on_ipfs.yaml b/.github/workflows/push_on_ipfs.yaml index 638f79c..00c480c 100644 --- a/.github/workflows/push_on_ipfs.yaml +++ b/.github/workflows/push_on_ipfs.yaml @@ -36,6 +36,7 @@ jobs: run: | npm config set "@fortawesome:registry" https://npm.fontawesome.com/ npm config set "//npm.fontawesome.com/:_authToken" FONTAWESOME_NPM_AUTH_TOKEN + npm config set "enable-pre-post-scripts" true npm ci npm run build touch out/.nojekyll diff --git a/.npmrc b/.npmrc index 1e02380..38b5d61 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1,3 @@ @fortawesome:registry=https://npm.fontawesome.com/ -//npm.fontawesome.com/:_authToken=${FONTAWESOME_NPM_AUTH_TOKEN} \ No newline at end of file +//npm.fontawesome.com/:_authToken=${FONTAWESOME_NPM_AUTH_TOKEN} +enable-pre-post-scripts=true \ No newline at end of file diff --git a/package.json b/package.json index 38fbd9f..a3232ad 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "next dev", "build": "next build", - "postbuild": "next-sitemap --config ./next-sitemap.config.js", + "postbuild": "next-sitemap --config ./next-sitemap.config.js", "start": "next start", "lint": "next lint" },