Skip to content

Commit

Permalink
ISSUE-348 Update ci-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim Dunaevskii committed Nov 6, 2023
1 parent 7af874a commit 488cf86
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Test

on:
Expand All @@ -19,7 +20,7 @@ jobs:
- '20.x'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
Expand All @@ -43,11 +44,12 @@ jobs:
# - '0.80.0' # https://github.com/gohugoio/hugo/issues/8340
- '0.86.1' # https://github.com/gohugoio/hugo/issues/9150
- '0.93.3' # https://github.com/gohugoio/hugo/commit/837fdfdf45014e3d5ef3b00b01548b68a4489c5f
- '0.120.3'
- 'latest'
fail-fast: true

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# https://github.com/peaceiris/actions-hugo (community action)
- name: Run Hugo ${{ matrix.hugo }}
Expand All @@ -63,4 +65,4 @@ jobs:
HUGO_VERSION=$(hugo version | grep -Eo '[0-9]+\.[0-9]+((\.[0-9]+)?)')
# The option changed in 0.93.0: https://github.com/gohugoio/hugo/releases/tag/v0.93.0
I18N_OPT=$([ $(ver $HUGO_VERSION) -lt $(ver 0.93.0) ] && echo "--i18n-warnings" || echo "--printI18nWarnings")
HUGO_THEME="Mainroad" hugo --themesDir ../.. $I18N_OPT -v
HUGO_THEME="Mainroad" hugo --themesDir --panicOnWarning ../.. $I18N_OPT -v

0 comments on commit 488cf86

Please sign in to comment.