edit env variables in ci

This commit is contained in:
Ruidy Nemausat 2020-05-13 19:17:41 +02:00
parent e051209af4
commit 57886a50e4

View file

@ -10,6 +10,15 @@ jobs:
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Unit tests
env:
REACT_APP_STORAGE_BUCKET: ${{ secrets.REACT_APP_STORAGE_BUCKET }}
REACT_APP_PROJECT_ID: ${{ secrets.REACT_APP_PROJECT_ID }}
REACT_APP_MSG_SENDER_ID: ${{ secrets.REACT_APP_MSG_SENDER_ID }}
REACT_APP_MEASUREMENT_ID: ${{ secrets.REACT_APP_MEASUREMENT_ID }}
REACT_APP_DB_URL: ${{ secrets.REACT_APP_DB_URL }}
REACT_APP_AUTH_DOMAIN: ${{ secrets.REACT_APP_AUTH_DOMAIN }}
REACT_APP_APP_ID: ${{ secrets.REACT_APP_APP_ID }}
REACT_APP_API_KEY: ${{ secrets.REACT_APP_API_KEY }}
run: yarn test --watchAll=false
- name: E2E tests
uses: cypress-io/github-action@v1