Skip to content

Commit

Permalink
feat: don't need to build
Browse files Browse the repository at this point in the history
  • Loading branch information
mrCherry97 committed Jul 17, 2024
1 parent e411e27 commit 779d60f
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/pull-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- "Dockerfile.local"

jobs:
run-namespace-test:
run-unit-test:
runs-on: ubuntu-latest
steps:
- uses: gardenlinux/workflow-telemetry-action@v2
Expand All @@ -31,19 +31,7 @@ jobs:
run: |
set -e
npm ci
npm run build
npm i -g serve
- name: run_tests
shell: bash
run: |
serve -s build > busola.log &
pushd backend
npm start > backend.log &
popd
echo "waiting for server to be up..."
while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' "$CYPRESS_DOMAIN")" != "200" ]]; do sleep 5; done
sleep 10
run: |
npm run test

0 comments on commit 779d60f

Please sign in to comment.