Restore original working configuration
This commit is contained in:
+11
-23
@@ -2,26 +2,14 @@ name: CI Pipeline
|
|||||||
run-name: ${{ gitea.actor }} triggered CI pipeline
|
run-name: ${{ gitea.actor }} triggered CI pipeline
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: {} # manual kick for debugging
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [main, develop, "adilallo/enhancement/TestingFramework"]
|
||||||
- main
|
|
||||||
- develop
|
|
||||||
- 'adilallo/enhancement/TestingFramework' # keep quotes for slash
|
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened, ready_for_review]
|
branches: [main, develop]
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- develop
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ping:
|
|
||||||
runs-on: [self-hosted, ubuntu-latest]
|
|
||||||
steps:
|
|
||||||
- run: echo "✅ Triggers work. Actor=${{ gitea.actor }} Ref=${{ gitea.ref }}"
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ["self-hosted", "ubuntu-latest"]
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix: { node-version: [18, 20] }
|
matrix: { node-version: [18, 20] }
|
||||||
env:
|
env:
|
||||||
@@ -50,7 +38,7 @@ jobs:
|
|||||||
# bash codecov.sh -t "${{ secrets.CODECOV_TOKEN }}" -f coverage/lcov.info -F unittests
|
# bash codecov.sh -t "${{ secrets.CODECOV_TOKEN }}" -f coverage/lcov.info -F unittests
|
||||||
|
|
||||||
e2e:
|
e2e:
|
||||||
runs-on: ["self-hosted", "ubuntu-latest"]
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix: { browser: [chromium, firefox, webkit] }
|
matrix: { browser: [chromium, firefox, webkit] }
|
||||||
steps:
|
steps:
|
||||||
@@ -83,7 +71,7 @@ jobs:
|
|||||||
retention-days: 30
|
retention-days: 30
|
||||||
|
|
||||||
visual-regression:
|
visual-regression:
|
||||||
runs-on: ["self-hosted", "ubuntu-latest"]
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
@@ -97,7 +85,7 @@ jobs:
|
|||||||
|
|
||||||
# Seed snapshots on main branch only (one-time setup)
|
# Seed snapshots on main branch only (one-time setup)
|
||||||
- name: Seed snapshots (main only)
|
- name: Seed snapshots (main only)
|
||||||
if: ${{ gitea.ref == 'refs/heads/main' }}
|
if: github.ref == 'refs/heads/main'
|
||||||
run: PLAYWRIGHT_UPDATE_SNAPSHOTS=1 npx playwright test tests/e2e/visual-regression.spec.ts --project=chromium
|
run: PLAYWRIGHT_UPDATE_SNAPSHOTS=1 npx playwright test tests/e2e/visual-regression.spec.ts --project=chromium
|
||||||
env: { CI: true }
|
env: { CI: true }
|
||||||
|
|
||||||
@@ -119,8 +107,8 @@ jobs:
|
|||||||
path: visual-regression.tgz
|
path: visual-regression.tgz
|
||||||
retention-days: 30
|
retention-days: 30
|
||||||
|
|
||||||
performance:
|
performance:
|
||||||
runs-on: ["self-hosted", "ubuntu-latest"]
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
@@ -158,7 +146,7 @@ jobs:
|
|||||||
path: lhci-results
|
path: lhci-results
|
||||||
|
|
||||||
storybook:
|
storybook:
|
||||||
runs-on: ["self-hosted", "ubuntu-latest"]
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
@@ -169,7 +157,7 @@ jobs:
|
|||||||
env: { CI: true }
|
env: { CI: true }
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
runs-on: ["self-hosted", "ubuntu-latest"]
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
@@ -179,7 +167,7 @@ jobs:
|
|||||||
- run: npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}"
|
- run: npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ["self-hosted", "ubuntu-latest"]
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
|
|||||||
@@ -1,13 +1,12 @@
|
|||||||
{
|
{
|
||||||
"WARNING": "This file is automatically generated by act-runner. Do not edit it manually unless you know what you are doing. Removing this file will cause act runner to re-register as a new runner.",
|
"WARNING": "This file is automatically generated by act-runner. Do not edit it manually unless you know what you are doing. Removing this file will cause act runner to re-register as a new runner.",
|
||||||
"id": 9,
|
"id": 11,
|
||||||
"uuid": "c5c01bc8-5bc2-4ede-b11a-fa4a76ae59f8",
|
"uuid": "e2bf20b6-d8b7-43d7-80fd-d0fd14858cb9",
|
||||||
"name": "community-rule-runner-2",
|
"name": "community-rule-runner-1",
|
||||||
"token": "57620b9eaecfd6538d97e9a1e8d8f89e5f9fcc8a",
|
"token": "3f15646e056e9f6e449e036af6039e67b43a63b9",
|
||||||
"address": "https://git.medlab.host",
|
"address": "https://git.medlab.host",
|
||||||
"labels": [
|
"labels": [
|
||||||
"self-hosted",
|
"macos-latest:host",
|
||||||
"ubuntu-latest",
|
"self-hosted:host"
|
||||||
"ubuntu-22.04"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-3
@@ -9,9 +9,8 @@ runner:
|
|||||||
fetch_timeout: 5s
|
fetch_timeout: 5s
|
||||||
fetch_interval: 2s
|
fetch_interval: 2s
|
||||||
labels:
|
labels:
|
||||||
- "self-hosted"
|
- "macos-latest:host"
|
||||||
- "ubuntu-latest"
|
- "self-hosted:host"
|
||||||
- "ubuntu-22.04"
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user