Git LFS Changes #2115
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Server Tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
PORT: ${{ secrets.PORT }} | |
DATABASE_URL: ${{ secrets.DATABASE_URL }} | |
FIREBASE_SA: ${{ secrets.FIREBASE_SA }} | |
VAPID_PRIVATE_KEY: ${{ secrets.VAPID_PRIVATE_KEY }} | |
VAPID_PUBLIC_KEY: ${{ secrets.VAPID_PUBLIC_KEY }} | |
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | |
HEROKU_APP_NAME: ${{ secrets.HEROKU_APP_NAME }} | |
NEWS_API_KEY: ${{ secrets.NEWS_API_KEY }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: cd server && npm install | |
- name: Run Server Tests | |
run: cd server && npm run test |