diff options
Diffstat (limited to '.github/workflows/e2e.yml')
-rw-r--r-- | .github/workflows/e2e.yml | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 15854e0..87a2933 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -7,7 +7,8 @@ on: branches: [ master ] jobs: - build: + min_hugo_build: + name: hugo min version runs-on: ubuntu-latest strategy: @@ -26,4 +27,26 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'npm' - run: npm ci + - run: npm run e2e:headless + + max_hugo_build: + name: hugo max version + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [16.x] + + steps: + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: "0.94.2" + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm ci - run: npm run e2e:headless
\ No newline at end of file |