Skip to content

Commit

Permalink
fix: add db url var to gh action config (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
viliusddd authored Jul 2, 2024
1 parent e4379b4 commit f73a610
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name: Lint & Test

on:
pull_request:
push:
branches: ['main']

Expand All @@ -28,6 +29,8 @@ jobs:

- name: Run unit tests
run: npm run test
env:
DATABASE_URL: ${{ vars.DATABASE_URL }}

- name: Build
run: npm run build
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ It's a dynamic Discord bot powered by a REST API that celebrates user achievemen
## Features

- DB is seeded with data.
- GH Action for linting, testing and build.

0 comments on commit f73a610

Please sign in to comment.