mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-12 13:36:43 +00:00
edit env variables in ci
This commit is contained in:
parent
d3cea3cebb
commit
3b875ab670
1 changed files with 9 additions and 9 deletions
10
.github/workflows/deploy.yml
vendored
10
.github/workflows/deploy.yml
vendored
|
|
@ -5,11 +5,6 @@ jobs:
|
||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Install dependencies
|
|
||||||
run: yarn install --frozen-lockfile
|
|
||||||
- name: Unit tests
|
|
||||||
env:
|
env:
|
||||||
REACT_APP_STORAGE_BUCKET: ${{ secrets.REACT_APP_STORAGE_BUCKET }}
|
REACT_APP_STORAGE_BUCKET: ${{ secrets.REACT_APP_STORAGE_BUCKET }}
|
||||||
REACT_APP_PROJECT_ID: ${{ secrets.REACT_APP_PROJECT_ID }}
|
REACT_APP_PROJECT_ID: ${{ secrets.REACT_APP_PROJECT_ID }}
|
||||||
|
|
@ -19,6 +14,11 @@ jobs:
|
||||||
REACT_APP_AUTH_DOMAIN: ${{ secrets.REACT_APP_AUTH_DOMAIN }}
|
REACT_APP_AUTH_DOMAIN: ${{ secrets.REACT_APP_AUTH_DOMAIN }}
|
||||||
REACT_APP_APP_ID: ${{ secrets.REACT_APP_APP_ID }}
|
REACT_APP_APP_ID: ${{ secrets.REACT_APP_APP_ID }}
|
||||||
REACT_APP_API_KEY: ${{ secrets.REACT_APP_API_KEY }}
|
REACT_APP_API_KEY: ${{ secrets.REACT_APP_API_KEY }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install dependencies
|
||||||
|
run: yarn install --frozen-lockfile
|
||||||
|
- name: Unit tests
|
||||||
run: yarn test --watchAll=false
|
run: yarn test --watchAll=false
|
||||||
- name: E2E tests
|
- name: E2E tests
|
||||||
uses: cypress-io/github-action@v1
|
uses: cypress-io/github-action@v1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue