From b83c14bd3029003e0f0509c70dbed941b46042c6 Mon Sep 17 00:00:00 2001 From: Dan Hensby Date: Wed, 4 Dec 2024 22:27:43 +0000 Subject: [PATCH] ci: use ubuntu-22.04 runner --- .github/workflows/release.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a326196..c2d967a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ permissions: jobs: commitlint: name: Lint commits - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v4 @@ -34,7 +34,7 @@ jobs: run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose codelint: name: Lint code - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v4 @@ -51,7 +51,7 @@ jobs: run: npm run lint buildlint: name: Check built files - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v4 @@ -70,7 +70,7 @@ jobs: run: git diff-files --quiet -w test: name: Run tests - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: - commitlint - codelint @@ -91,7 +91,7 @@ jobs: run: npm run test -- --forbid-only coverage: name: Test coverage - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: - commitlint - codelint @@ -152,7 +152,7 @@ jobs: name: Release concurrency: release if: ${{ github.repository_owner == 'tediousjs' && github.event_name == 'push' && github.actor != 'dependabot[bot]' }} - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: - commitlint - codelint