Skip to content

Commit

Permalink
delegada la ejecucion a la maquina local
Browse files Browse the repository at this point in the history
  • Loading branch information
bidof committed Apr 30, 2024
1 parent a163506 commit e7e51b7
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Deploy on release
on:
release:
types: [published]
push:
branches:
- test

jobs:
unit-tests:
Expand Down Expand Up @@ -55,21 +58,13 @@ jobs:

e2e-tests:
needs: [unit-tests]
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 21
- run: npm --prefix users/authservice install
- run: npm --prefix users/userservice install
- run: npm --prefix gatewayservice install
- run: npm --prefix historyservice install
- run: npm --prefix questionservice install
- run: npm --prefix roomservice install
- run: npm --prefix webapp install
- run: npm --prefix webapp run build
- run: xvfb-run --auto-servernum npm --prefix webapp run test:e2e
- name: Run e2e tests
run: |
chmod +x ./e2eTest.sh
./e2eTest.sh
env :
CI : ""

Expand Down

0 comments on commit e7e51b7

Please sign in to comment.