Skip to content

Commit

Permalink
chore(ci): pin Ubuntu version in GH Actions (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
barjin authored Jan 18, 2025
1 parent a9dc2e3 commit a780d25
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-pr-title.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
check_pr_title:
name: 'Check PR title'
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: amannn/[email protected]
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
contents: write
pages: write
id-token: write
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
fail-fast: true
matrix:
# We don't test on Windows as the tests are flaky
os: [ ubuntu-latest ]
os: [ ubuntu-22.04 ]
node-version: [ 16, 18, 20 ]

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
name: "Bump ${{ inputs.package }}: ${{ inputs.version }} version (${{ inputs.custom_version || 'n/a' }} custom version)"
if: (!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, 'docs:'))
needs: build_and_test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Checkout repository
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
fail-fast: false
matrix:
# tests on windows are extremely unstable
# os: [ ubuntu-latest, windows-2019 ]
os: [ ubuntu-latest ]
# os: [ ubuntu-22.04, windows-2019 ]
os: [ ubuntu-22.04 ]
node-version: [ 16, 18, 20 ]

steps:
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
docs:
name: Docs build
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout Source code
uses: actions/checkout@v4
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Checkout repository
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
publish:
name: Publish
if: (github.ref == 'refs/heads/master' || github.event_name == 'release') && !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, 'docs:')
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [ lint, build_and_test ]
steps:
- name: Checkout Source code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# NPM install is done in a separate job and cached to speed up the following jobs.
build_and_test:
name: Build & Test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Cancel Workflow Action
Expand Down

0 comments on commit a780d25

Please sign in to comment.