Skip to content

Commit

Permalink
Merge pull request #24 from ufosc/feature/refactor-jan
Browse files Browse the repository at this point in the history
add github workflow, fix test issues with server file
  • Loading branch information
IkeHunter authored Jan 27, 2024
2 parents 15b2468 + 5d0158c commit ceded55
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 ceded55

Please sign in to comment.