Skip to content

Commit

Permalink
tests ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
rovilay committed Nov 24, 2024
1 parent 81f6bff commit a015e2f
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.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: tests
on:
pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2 # copy code out of project to CI sandbox
- run: cd auth && npm install && npm run test:ci

3 changes: 2 additions & 1 deletion auth/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 a015e2f

Please sign in to comment.