From c535e53305c1b74acdce2edf93f1dd1f8d411a95 Mon Sep 17 00:00:00 2001 From: vitalyster Date: Wed, 22 Feb 2023 13:16:33 +0300 Subject: CI: self-hosted runner --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to '.github') 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 -- cgit v1.2.3