diff options
author | Curtis Timson <curt@live.co.uk> | 2022-06-23 20:01:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-23 20:01:17 +0300 |
commit | 3660a5526218ec0c819d655b393a87929ba19631 (patch) | |
tree | 3c316b505a21bcdafe700ceeff1b01a56dfb96e7 | |
parent | d483c036002f47fc522069eb6c13e2aaea91b299 (diff) |
👷 Add hugo max version e2e to CI (#112)
* 👷 Add hugo max version e2e to CI
* update job names
-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 |