Tests
Build Quartz site / build (push) Successful in 1m39s Details

This commit is contained in:
Peaceultime 2023-12-19 13:51:55 +01:00
parent 941390f32d
commit 9bfaab87a6
2 changed files with 2 additions and 21 deletions

View File

@ -7,7 +7,7 @@ const config: QuartzConfig = {
enableSPA: true, enableSPA: true,
enablePopovers: true, enablePopovers: true,
analytics: null, analytics: null,
baseUrl: "peaceultime.com/static/obsidian", baseUrl: "static.peaceultime.com/obsidian",
ignorePatterns: ["private", "templates", ".obsidian"], ignorePatterns: ["private", "templates", ".obsidian"],
defaultDateType: "created", defaultDateType: "created",
theme: { theme: {
@ -48,7 +48,7 @@ const config: QuartzConfig = {
priority: ["frontmatter", "filesystem"], // you can add 'git' here for last modified from Git but this makes the build slower priority: ["frontmatter", "filesystem"], // you can add 'git' here for last modified from Git but this makes the build slower
}), }),
Plugin.SyntaxHighlighting(), Plugin.SyntaxHighlighting(),
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }), Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: true }),
Plugin.GitHubFlavoredMarkdown(), Plugin.GitHubFlavoredMarkdown(),
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }), Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
Plugin.Latex({ renderEngine: "katex" }), Plugin.Latex({ renderEngine: "katex" }),

View File

@ -22,25 +22,6 @@ jobs:
github-server-url: 'https://github.com' github-server-url: 'https://github.com'
token: ${{ secrets.GH_PAT }} token: ${{ secrets.GH_PAT }}
- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
name: List the state of node modules
continue-on-error: true
run: npm list
- name: "Checkout" - name: "Checkout"
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with: