Skip to content

Commit ed93f8c

Browse files
authored
ci: use self-hosted runners (#112)
* ci: use self-hosted runners * ci: update actions versions
1 parent ac14c63 commit ed93f8c

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.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:
14-
runs-on: ubuntu-latest
18+
runs-on: self-hosted-arc
1519

1620
strategy:
1721
matrix:
1822
node-version: [18.x, 20.x]
1923
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
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)