From 9fdcac72e0e9b30358a5945b390974db785b6bf2 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Mon, 8 Apr 2024 14:25:00 -0600 Subject: [PATCH] set npm_config_audit environment variable in correct place --- .github/workflows/publish-site.yml | 9 +++++---- pom.xml | 1 - 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-site.yml b/.github/workflows/publish-site.yml index 6aa96d5..4ef3ac1 100644 --- a/.github/workflows/publish-site.yml +++ b/.github/workflows/publish-site.yml @@ -48,10 +48,11 @@ jobs: env: # must set ANTORA_CACHE_DIR so Maven will put jetty home where Antora Collector won't delete it ANTORA_CACHE_DIR: ${{ github.workspace }}/.cache/antora - run: | - #npm --audit false --fund false --omit optional --package-lock false i - #npx --offline antora --stacktrace --extension @antora/collector-extension --extension @antora/lunr-extension --extension jetty-downloads --extension register-asciidoctor-kroki --html-url-extension-style indexify --log-failure-level error antora-playbook.yml - mvn -ntp antora:antora@full + npm_config_audit: false + #run: | + # npm --audit false --fund false --omit optional --package-lock false i + # npx --offline antora --stacktrace --extension @antora/collector-extension --extension @antora/lunr-extension --extension jetty-downloads --extension register-asciidoctor-kroki --html-url-extension-style indexify --log-failure-level error antora-playbook.yml + run: mvn -ntp antora:antora@full - name: Upload Artifact uses: actions/upload-pages-artifact@v3 with: diff --git a/pom.xml b/pom.xml index a152130..53d20cd 100644 --- a/pom.xml +++ b/pom.xml @@ -61,7 +61,6 @@ ${basedir}/.cache/antora - false