Skip to content

Commit

Permalink
Add test workflow for tickets service
Browse files Browse the repository at this point in the history
  • Loading branch information
MostafaAE committed Apr 18, 2024
1 parent 146ae28 commit 7b992ed
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/workflows/tests-tickets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: tests-tickets

on: pull_request

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: cd tickets && npm install && npm run test:ci
3 changes: 2 additions & 1 deletion tickets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"start": "ts-node-dev --poll src/index.ts ",
"test": "jest --watchAll --no-cache"
"test": "jest --watchAll --no-cache",
"test:ci": "jest"
},
"jest": {
"preset": "ts-jest",
Expand Down

0 comments on commit 7b992ed

Please sign in to comment.