Skip to content

Commit

Permalink
ci: update github actions script
Browse files Browse the repository at this point in the history
  • Loading branch information
zylcom committed Jul 28, 2023
1 parent f43e5fb commit b07c28c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:

env:
SHADOW_DATABASE_URL: mysql://root:root@localhost:3306/food_app?connection_limit=5&pool_timeout=0
DATABASE_URL: ${{ secrets.DATABASE_URL }}
STRIPE_SECRET_KEY: ${{ secrets.STRIPE_SECRET_KEY }}
STRIPE_ENDPOINT_SECRET: ${{ secrets.STRIPE_ENDPOINT_SECRET }}

jobs:
start_mysql:
Expand Down Expand Up @@ -45,5 +48,7 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: mysql -e 'SHOW DATABASES;' -uroot -proot
# - run: npm run build --if-present
# - run: npm test
- name: Testing
run: |
npm ci
npm test

0 comments on commit b07c28c

Please sign in to comment.