aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorGravatar vitalyster2023-02-22 13:16:33 +0300
committerGravatar Vitaly Takmazov2023-02-22 14:42:04 +0300
commitc535e53305c1b74acdce2edf93f1dd1f8d411a95 (patch)
treea94833c158f6d03d2d5a52214a05375a62bd6f38 /.github
parent39a700ab8c5d8dd271e466065dc22c25838f37f8 (diff)
CI: self-hosted runner
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a7cd808d..b722d36d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -5,10 +5,13 @@ on:
push:
branches: [master]
+concurrency:
+ group: ${{ github.head_ref || github.ref }}
+ cancel-in-progress: true
+
jobs:
current:
- runs-on: ubuntu-latest
- timeout-minutes: 5
+ runs-on: self-hosted
strategy:
matrix:
profile: [default, postgres, mysql, sqlserver]
@@ -16,7 +19,7 @@ jobs:
postgres:
image: postgres
ports:
- - 5432:5432
+ - 5433:5432
env:
POSTGRES_DB: juick
POSTGRES_USER: juick
@@ -64,7 +67,7 @@ jobs:
defaults:
run:
working-directory: vnext
- runs-on: ubuntu-latest
+ runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Setup Node.JS 18