Skip to content

Commit ef17a49

Browse files
committed
fix: update Ubuntu version.
1 parent c920724 commit ef17a49

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/main.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
# This job uses skip-duplicate-actions to skip one of the duplicate workflow runs when you push to a branch with an open PR.
1212
check_duplicate_workflow:
1313
needs: []
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-22.04
1515
outputs:
1616
should_skip: ${{ steps.skip_check.outputs.should_skip }}
1717
steps:
@@ -24,7 +24,7 @@ jobs:
2424

2525
lint:
2626
needs: [check_duplicate_workflow]
27-
runs-on: ubuntu-20.04
27+
runs-on: ubuntu-22.04
2828
if: ${{ needs.check_duplicate_workflow.outputs.should_skip != 'true' }}
2929
steps:
3030
- name: Check out repository code
@@ -40,7 +40,7 @@ jobs:
4040
4141
build:
4242
needs: [check_duplicate_workflow]
43-
runs-on: ubuntu-20.04
43+
runs-on: ubuntu-22.04
4444
if: ${{ needs.check_duplicate_workflow.outputs.should_skip != 'true' }}
4545
steps:
4646
- name: Check out repository code
@@ -62,7 +62,7 @@ jobs:
6262

6363
test:
6464
needs: [check_duplicate_workflow]
65-
runs-on: ubuntu-20.04
65+
runs-on: ubuntu-22.04
6666
if: ${{ needs.check_duplicate_workflow.outputs.should_skip != 'true' }}
6767
env:
6868
MOCHA_FILE: test-results/mocha/test-results.xml
@@ -90,7 +90,7 @@ jobs:
9090

9191
release:
9292
needs: [lint, build, test]
93-
runs-on: ubuntu-20.04
93+
runs-on: ubuntu-22.04
9494
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta') }}
9595
env:
9696
NPM_TOKEN: ${{ secrets.NPM_TOKEN_ELASTICPATH }}

0 commit comments

Comments
 (0)