Skip to content

Commit ca2ddbd

Browse files
authored
Merge pull request #102 from dhensby/pulls/ci-ubuntu-runner
ci: use ubuntu-22.04 runner
2 parents 9f4db86 + b83c14b commit ca2ddbd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ permissions:
1212
jobs:
1313
commitlint:
1414
name: Lint commits
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-22.04
1616
steps:
1717
- name: Checkout code
1818
uses: actions/checkout@v4
@@ -34,7 +34,7 @@ jobs:
3434
run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
3535
codelint:
3636
name: Lint code
37-
runs-on: ubuntu-latest
37+
runs-on: ubuntu-22.04
3838
steps:
3939
- name: Checkout code
4040
uses: actions/checkout@v4
@@ -51,7 +51,7 @@ jobs:
5151
run: npm run lint
5252
buildlint:
5353
name: Check built files
54-
runs-on: ubuntu-latest
54+
runs-on: ubuntu-22.04
5555
steps:
5656
- name: Checkout code
5757
uses: actions/checkout@v4
@@ -70,7 +70,7 @@ jobs:
7070
run: git diff-files --quiet -w
7171
test:
7272
name: Run tests
73-
runs-on: ubuntu-latest
73+
runs-on: ubuntu-22.04
7474
needs:
7575
- commitlint
7676
- codelint
@@ -91,7 +91,7 @@ jobs:
9191
run: npm run test -- --forbid-only
9292
coverage:
9393
name: Test coverage
94-
runs-on: ubuntu-latest
94+
runs-on: ubuntu-22.04
9595
needs:
9696
- commitlint
9797
- codelint
@@ -152,7 +152,7 @@ jobs:
152152
name: Release
153153
concurrency: release
154154
if: ${{ github.repository_owner == 'tediousjs' && github.event_name == 'push' && github.actor != 'dependabot[bot]' }}
155-
runs-on: ubuntu-latest
155+
runs-on: ubuntu-22.04
156156
needs:
157157
- commitlint
158158
- codelint

0 commit comments

Comments
 (0)