Skip to content

Commit

Permalink
re-run tests on main push (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg authored Sep 28, 2021
1 parent 03a2edc commit b1dcf6d
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/frontend-deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,35 @@ defaults:
working-directory: frontend

jobs:
#run-tests:
# runs-on: ubuntu-latest
# name: Run E2E Tests
# environment: production
run-tests:
runs-on: ubuntu-latest
name: Run E2E Tests
environment: production

# steps:
# - name: Cloning repo
# uses: actions/checkout@v2
# with:
# fetch-depth: 0
steps:
- name: Cloning repo
uses: actions/checkout@v2
with:
fetch-depth: 0

# - name: Run E2E Tests
# env:
# E2E_TEST_TOKEN_PROD: ${{ secrets.E2E_TEST_TOKEN }}
# ENV: prod
# run: |
# wget -q https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_91.0.4472.114-1_amd64.deb
# sudo apt install --allow-downgrades -y ./google-chrome*.deb -f
# google-chrome --version
# node -v
# npm i
# npm run env
# npm run test
- name: Run E2E Tests
env:
E2E_TEST_TOKEN_PROD: ${{ secrets.E2E_TEST_TOKEN }}
ENV: prod
run: |
wget -q https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_91.0.4472.114-1_amd64.deb
sudo apt install --allow-downgrades -y ./google-chrome*.deb -f
google-chrome --version
node -v
npm i
npm run env
npm run test
deploy-production:
runs-on: ubuntu-latest
name: Deploy to Production
environment: production
#needs: run-tests
needs: run-tests

steps:
- name: Cloning repo
Expand Down

0 comments on commit b1dcf6d

Please sign in to comment.