Skip to content

Commit 3165aa2

Browse files
authored
ci: use self-hosted runners (#36)
1 parent e9f278e commit 3165aa2

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
@@ -9,19 +9,23 @@ 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:
1418

15-
runs-on: ubuntu-latest
19+
runs-on: self-hosted-arc
1620

1721
strategy:
1822
matrix:
1923
node-version: [12.x, 14.x, 16.x]
2024

2125
steps:
22-
- uses: actions/checkout@v2
26+
- uses: actions/checkout@v4
2327
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v2
28+
uses: actions/setup-node@v4
2529
with:
2630
node-version: ${{ matrix.node-version }}
2731
cache: 'npm'

0 commit comments

Comments
 (0)