diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c3d4cea6..00f4bc76 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,23 +17,18 @@ jobs: with: cache: npm - run: npm ci - - run: npm run lint:markdown - - run: npm run lint:css - - run: npm run lint:js + - name: Lint Markdown + run: npm run lint:markdown + - name: Lint CSS + run: npm run lint:css + - name: Lint JavaScript + run: npm run lint:js - name: Set Hugo up uses: peaceiris/actions-hugo@v2 with: hugo-version: '0.108.0' extended: true # Prevent error building site: POSTCSS: failed to transform, see https://gohugo.io/troubleshooting/faq/#i-get-this-feature-is-not-available-in-your-current-hugo-version - - name: Clean public dir - run: rm -rf public - - name: Print Hugo info - run: | - echo "hugo env" - hugo env - echo "hugo config" - hugo config - - name: Build with Hugo run: hugo --minify - - run: npm run test:links + - name: Test broken links + run: npm run test:links