Skip to content

Commit 7511bec

Browse files
committed
ci: use self-hosted runners in CI
1 parent eb24967 commit 7511bec

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/checks.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ on:
99
pull_request:
1010
branches: [master]
1111

12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
14+
cancel-in-progress: true
15+
1216
jobs:
1317
build:
14-
runs-on: ubuntu-latest
18+
runs-on: self-hosted-arc
1519

1620
strategy:
1721
matrix:
@@ -29,7 +33,7 @@ jobs:
2933
- run: npm test
3034

3135
deploy-static:
32-
runs-on: ubuntu-latest
36+
runs-on: self-hosted-arc
3337
environment: CI
3438

3539
strategy:

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ permissions:
1616
jobs:
1717
# Build job
1818
build:
19-
runs-on: ubuntu-latest
19+
runs-on: self-hosted-arc
2020
steps:
2121
- uses: actions/checkout@v4
2222
- uses: actions/setup-node@v4
@@ -40,7 +40,7 @@ jobs:
4040
environment:
4141
name: github-pages
4242
url: ${{ steps.deployment.outputs.page_url }}
43-
runs-on: ubuntu-latest
43+
runs-on: self-hosted-arc
4444
needs: build
4545
steps:
4646
- name: Deploy to GitHub Pages

0 commit comments

Comments
 (0)