Skip to content

Commit

Permalink
add github workflow, fix test issues with server file
Browse files Browse the repository at this point in the history
  • Loading branch information
IkeHunter committed Jan 27, 2024
1 parent 4ffdedf commit 5d0158c
Show file tree
Hide file tree
Showing 13 changed files with 8,290 additions and 37 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/main.yml.txt

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/test-api.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Test Api with Jest
on:
push:
branches:
- main
- production
- feature/**

pull_request:
branches:
- main
- production

jobs:
jest-testing:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build images
run: docker-compose build
- name: Run Test
run: docker-compose run --rm api sh -c "npm run test"

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Node.js
package-lock.json
node_modules/

# Environment
Expand Down
Loading

0 comments on commit 5d0158c

Please sign in to comment.