Skip to content

Commit

Permalink
cambiar el release
Browse files Browse the repository at this point in the history
  • Loading branch information
bidof committed Apr 29, 2024
1 parent 2c78cce commit 3af21cc
Showing 1 changed file with 28 additions and 8 deletions.
36 changes: 28 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
permissions:
contents: read
packages: write
needs: [unit-tests]
needs: [e2e-tests]
steps:
- uses: actions/checkout@v4
- name: Publish to Registry
Expand All @@ -52,14 +52,34 @@ jobs:
buildargs: REACT_APP_API_URI
env: # Esta línea estaba mal indentada
REACT_APP_API_URI: http://${{ secrets.DEPLOY_HOST }}:3000


e2e-tests:
needs: [unit-tests]
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- 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: npm --prefix webapp run test:e2e
env :
CI : ""

docker-push-webapp:
name: Push webapp Docker Image to GitHub Packages
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
needs: [unit-tests]
needs: [e2e-tests]
steps:
- uses: actions/checkout@v4
- name: Publish to Registry
Expand All @@ -81,7 +101,7 @@ jobs:
permissions:
contents: read
packages: write
needs: [unit-tests]
needs: [e2e-tests]
steps:
- uses: actions/checkout@v4
- name: Publish to Registry
Expand All @@ -99,7 +119,7 @@ jobs:
permissions:
contents: read
packages: write
needs: [unit-tests]
needs: [e2e-tests]
steps:
- uses: actions/checkout@v4
- name: Publish to Registry
Expand All @@ -117,7 +137,7 @@ jobs:
permissions:
contents: read
packages: write
needs: [unit-tests]
needs: [e2e-tests]
steps:
- uses: actions/checkout@v4
- name: Publish to Registry
Expand All @@ -135,7 +155,7 @@ jobs:
permissions:
contents: read
packages: write
needs: [unit-tests]
needs: [e2e-tests]
steps:
- uses: actions/checkout@v4
- name: Publish to Registry
Expand All @@ -153,7 +173,7 @@ jobs:
permissions:
contents: read
packages: write
needs: [unit-tests]
needs: [e2e-tests]
steps:
- uses: actions/checkout@v4
- name: Publish to Registry
Expand Down

0 comments on commit 3af21cc

Please sign in to comment.