Skip to content

Commit 6d24431

Browse files
authored
ci: use self-hosted runners (#43)
1 parent da28df7 commit 6d24431

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/node.js.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,22 @@ on:
66
pull_request:
77
branches: [ master ]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
build:
11-
runs-on: ubuntu-latest
15+
runs-on: self-hosted-arc
1216

1317
strategy:
1418
matrix:
1519
node-version: [16.x, 18.x, 20.x]
1620

1721
steps:
18-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v4
1923
- name: Use Node.js ${{ matrix.node-version }}
20-
uses: actions/setup-node@v2
24+
uses: actions/setup-node@v4
2125
with:
2226
node-version: ${{ matrix.node-version }}
2327
cache: 'npm'

0 commit comments

Comments
 (0)