Test runner
CI Pipeline / canary (pull_request) Successful in 1s
CI Pipeline / test (20) (pull_request) Failing after 1m8s
CI Pipeline / test (18) (pull_request) Failing after 1m20s
CI Pipeline / e2e (chromium) (pull_request) Failing after 1m1s
CI Pipeline / e2e (firefox) (pull_request) Failing after 1m0s
CI Pipeline / e2e (webkit) (pull_request) Failing after 1m0s
CI Pipeline / visual-regression (pull_request) Failing after 1m26s
CI Pipeline / performance (pull_request) Failing after 1m23s
CI Pipeline / lint (pull_request) Failing after 59s
CI Pipeline / build (pull_request) Failing after 56s
CI Pipeline / storybook (pull_request) Failing after 5m39s
CI Pipeline / canary (pull_request) Successful in 1s
CI Pipeline / test (20) (pull_request) Failing after 1m8s
CI Pipeline / test (18) (pull_request) Failing after 1m20s
CI Pipeline / e2e (chromium) (pull_request) Failing after 1m1s
CI Pipeline / e2e (firefox) (pull_request) Failing after 1m0s
CI Pipeline / e2e (webkit) (pull_request) Failing after 1m0s
CI Pipeline / visual-regression (pull_request) Failing after 1m26s
CI Pipeline / performance (pull_request) Failing after 1m23s
CI Pipeline / lint (pull_request) Failing after 59s
CI Pipeline / build (pull_request) Failing after 56s
CI Pipeline / storybook (pull_request) Failing after 5m39s
This commit is contained in:
@@ -11,15 +11,16 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
canary:
|
canary:
|
||||||
runs-on: ["self-hosted:host", "macos-latest:host"]
|
runs-on: [self-hosted, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- run: |
|
||||||
|
echo "PATH=$PATH"
|
||||||
|
which node && node -v
|
||||||
uname -a
|
uname -a
|
||||||
node -v || true
|
|
||||||
echo "Runner labels OK ✅"
|
echo "Runner labels OK ✅"
|
||||||
|
|
||||||
test:
|
test:
|
||||||
runs-on: ["self-hosted:host", "macos-latest:host"]
|
runs-on: [self-hosted, macos-latest]
|
||||||
strategy:
|
strategy:
|
||||||
matrix: { node-version: [18, 20] }
|
matrix: { node-version: [18, 20] }
|
||||||
env:
|
env:
|
||||||
@@ -48,7 +49,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:host", "macos-latest:host"]
|
runs-on: [self-hosted, macos-latest]
|
||||||
strategy:
|
strategy:
|
||||||
matrix: { browser: [chromium, firefox, webkit] }
|
matrix: { browser: [chromium, firefox, webkit] }
|
||||||
steps:
|
steps:
|
||||||
@@ -81,7 +82,7 @@ jobs:
|
|||||||
retention-days: 30
|
retention-days: 30
|
||||||
|
|
||||||
visual-regression:
|
visual-regression:
|
||||||
runs-on: ["self-hosted:host", "macos-latest:host"]
|
runs-on: [self-hosted, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
@@ -118,7 +119,7 @@ jobs:
|
|||||||
retention-days: 30
|
retention-days: 30
|
||||||
|
|
||||||
performance:
|
performance:
|
||||||
runs-on: ["self-hosted:host", "macos-latest:host"]
|
runs-on: [self-hosted, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
@@ -156,7 +157,7 @@ jobs:
|
|||||||
path: lhci-results
|
path: lhci-results
|
||||||
|
|
||||||
storybook:
|
storybook:
|
||||||
runs-on: ["self-hosted:host", "macos-latest:host"]
|
runs-on: [self-hosted, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
@@ -167,7 +168,7 @@ jobs:
|
|||||||
env: { CI: true }
|
env: { CI: true }
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
runs-on: ["self-hosted:host", "macos-latest:host"]
|
runs-on: [self-hosted, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
@@ -177,7 +178,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:host", "macos-latest:host"]
|
runs-on: [self-hosted, macos-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
66560
|
||||||
+14
-2
@@ -2,6 +2,18 @@
|
|||||||
|
|
||||||
echo "🚀 Starting Gitea Actions Runner..."
|
echo "🚀 Starting Gitea Actions Runner..."
|
||||||
|
|
||||||
|
# Ensure Node.js is available in PATH
|
||||||
|
export PATH="/usr/local/bin:/opt/homebrew/bin:/usr/bin:/bin:$PATH"
|
||||||
|
|
||||||
|
# Verify Node.js is accessible
|
||||||
|
if ! command -v node >/dev/null 2>&1; then
|
||||||
|
echo "❌ Node.js not found in PATH!"
|
||||||
|
echo "Current PATH: $PATH"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "✅ Node.js found: $(which node) - $(node -v)"
|
||||||
|
|
||||||
# Check if runner is already running
|
# Check if runner is already running
|
||||||
if pgrep -f "act_runner daemon" > /dev/null; then
|
if pgrep -f "act_runner daemon" > /dev/null; then
|
||||||
echo "⚠️ Runner is already running!"
|
echo "⚠️ Runner is already running!"
|
||||||
@@ -9,8 +21,8 @@ if pgrep -f "act_runner daemon" > /dev/null; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Start the runner in the background
|
# Start the runner in the background with proper PATH
|
||||||
./act_runner daemon --config config.yaml &
|
PATH="/usr/local/bin:/opt/homebrew/bin:/usr/bin:/bin:$PATH" ./act_runner daemon --config config.yaml &
|
||||||
RUNNER_PID=$!
|
RUNNER_PID=$!
|
||||||
|
|
||||||
# Save PID to file for easy stopping
|
# Save PID to file for easy stopping
|
||||||
|
|||||||
Reference in New Issue
Block a user