Skip to content

Commit

Permalink
set npm_config_audit environment variable in correct place
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Apr 8, 2024
1 parent 15fe716 commit 9fdcac7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
<configuration>
<environmentVariables>
<ANTORA_CACHE_DIR>${basedir}/.cache/antora</ANTORA_CACHE_DIR>
<npm_config_audit>false</npm_config_audit>
</environmentVariables>
<additionalOptions>
<option>extension[] @antora/collector-extension</option>
Expand Down

0 comments on commit 9fdcac7

Please sign in to comment.