Skip to content

Commit

Permalink
Remove unnecessary steps and improves visibility by naming steps
Browse files Browse the repository at this point in the history
  • Loading branch information
clementbiron committed Jul 26, 2023
1 parent 13ed15d commit 35cc123
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 35cc123

Please sign in to comment.