Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Aug 17, 2024
1 parent eaf20fa commit 0dc5096
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Test
name: Test
on: [push, pull_request]
jobs:
build:
Expand All @@ -25,11 +25,13 @@ jobs:
run: npm i
- name: Setup CI config
run: |
echo $CI_CONFIG > config/serviceAccountKey.json
echo $SERVICE_ACCOUNT_CONFIG > config/serviceAccountKey.json
echo $API_SECRETS > config/apisecrets.ts
touch logs/debug.log logs/error.log logs/info.log
shell: bash
env:
CI_CONFIG: ${{ secrets.SERVICE_ACCOUNT_CI }}
SERVICE_ACCOUNT_CONFIG: ${{ secrets.SERVICE_ACCOUNT_CI }}
API_SECRETS: ${{ secrets.API_SECRETS }}
- name: Run tests and collect coverage
run: |
npm run test
Expand Down

0 comments on commit 0dc5096

Please sign in to comment.