From 3660a5526218ec0c819d655b393a87929ba19631 Mon Sep 17 00:00:00 2001 From: Curtis Timson Date: Thu, 23 Jun 2022 18:01:17 +0100 Subject: =?UTF-8?q?=F0=9F=91=B7=20Add=20hugo=20max=20version=20e2e=20to=20?= =?UTF-8?q?CI=20(#112)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 👷 Add hugo max version e2e to CI * update job names --- .github/workflows/e2e.yml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3