Update vite to version 2.9.18 (#271) #392
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: On push | |
on: push | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: docker-compose -f docker-compose.test.yml up -d --build | |
- run: sleep 10 | |
- run: docker-compose -f docker-compose.test.yml exec -T web curl -f -LI http://localhost:3000/healthcheck | |
- run: docker-compose -f docker-compose.test.yml exec -T web yarn playwright install --with-deps | |
- run: docker-compose -f docker-compose.test.yml exec -T web yarn playwright test | |
- run: docker-compose -f docker-compose.test.yml down | |
deploy_production: | |
needs: test | |
if: ${{ github.ref == 'refs/heads/v2' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: zenato/docker-action@master | |
with: | |
username: ${{ secrets.REGISTRY_USERNAME }} | |
password: ${{ secrets.REGISTRY_PASSWORD }} | |
repository: ${{ secrets.REGISTRY_REPO }} | |
registry: ${{ secrets.REGISTRY_URL }} | |
tag: beta |