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:
|
||||
canary:
|
||||
runs-on: ["self-hosted:host", "macos-latest:host"]
|
||||
runs-on: [self-hosted, macos-latest]
|
||||
steps:
|
||||
- run: |
|
||||
echo "PATH=$PATH"
|
||||
which node && node -v
|
||||
uname -a
|
||||
node -v || true
|
||||
echo "Runner labels OK ✅"
|
||||
|
||||
test:
|
||||
runs-on: ["self-hosted:host", "macos-latest:host"]
|
||||
runs-on: [self-hosted, macos-latest]
|
||||
strategy:
|
||||
matrix: { node-version: [18, 20] }
|
||||
env:
|
||||
@@ -48,7 +49,7 @@ jobs:
|
||||
# bash codecov.sh -t "${{ secrets.CODECOV_TOKEN }}" -f coverage/lcov.info -F unittests
|
||||
|
||||
e2e:
|
||||
runs-on: ["self-hosted:host", "macos-latest:host"]
|
||||
runs-on: [self-hosted, macos-latest]
|
||||
strategy:
|
||||
matrix: { browser: [chromium, firefox, webkit] }
|
||||
steps:
|
||||
@@ -81,7 +82,7 @@ jobs:
|
||||
retention-days: 30
|
||||
|
||||
visual-regression:
|
||||
runs-on: ["self-hosted:host", "macos-latest:host"]
|
||||
runs-on: [self-hosted, macos-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
@@ -118,7 +119,7 @@ jobs:
|
||||
retention-days: 30
|
||||
|
||||
performance:
|
||||
runs-on: ["self-hosted:host", "macos-latest:host"]
|
||||
runs-on: [self-hosted, macos-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
@@ -156,7 +157,7 @@ jobs:
|
||||
path: lhci-results
|
||||
|
||||
storybook:
|
||||
runs-on: ["self-hosted:host", "macos-latest:host"]
|
||||
runs-on: [self-hosted, macos-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
@@ -167,7 +168,7 @@ jobs:
|
||||
env: { CI: true }
|
||||
|
||||
lint:
|
||||
runs-on: ["self-hosted:host", "macos-latest:host"]
|
||||
runs-on: [self-hosted, macos-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
@@ -177,7 +178,7 @@ jobs:
|
||||
- run: npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}"
|
||||
|
||||
build:
|
||||
runs-on: ["self-hosted:host", "macos-latest:host"]
|
||||
runs-on: [self-hosted, macos-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
66560
|
||||
+14
-2
@@ -2,6 +2,18 @@
|
||||
|
||||
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
|
||||
if pgrep -f "act_runner daemon" > /dev/null; then
|
||||
echo "⚠️ Runner is already running!"
|
||||
@@ -9,8 +21,8 @@ if pgrep -f "act_runner daemon" > /dev/null; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Start the runner in the background
|
||||
./act_runner daemon --config config.yaml &
|
||||
# Start the runner in the background with proper PATH
|
||||
PATH="/usr/local/bin:/opt/homebrew/bin:/usr/bin:/bin:$PATH" ./act_runner daemon --config config.yaml &
|
||||
RUNNER_PID=$!
|
||||
|
||||
# Save PID to file for easy stopping
|
||||
|
||||
Reference in New Issue
Block a user