Skip to content

Commit

Permalink
add test job to client workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mxfactorial committed Jun 4, 2023
1 parent eeb64b3 commit d4805a2
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/dev-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,27 @@ on:

jobs:
test:
name: test client
runs-on: ubuntu-latest
env:
CI: true
steps:
- uses: actions/checkout@v3
- name: start services
run: make start
- name: e2e test client
run: make -C ./client test-ci
deploy:
name: deploy client
needs: test
runs-on: ubuntu-latest
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
CI: true
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: install dependencies
run: make install
working-directory: client
Expand All @@ -32,4 +44,4 @@ jobs:
working-directory: client
- name: empty cache
run: ENV_ID=${{ secrets.DEV_ENV_ID }} make empty-cache ENV=dev
working-directory: client
working-directory: client

0 comments on commit d4805a2

Please sign in to comment.