File tree Expand file tree Collapse file tree 2 files changed +49
-1
lines changed Expand file tree Collapse file tree 2 files changed +49
-1
lines changed Original file line number Diff line number Diff line change
1
+ # This is a basic workflow to help you get started with Actions
2
+
3
+ name : Tests
4
+
5
+ # Controls when the action will run.
6
+ on :
7
+ # Triggers the workflow on push or pull request events but only for the master branch
8
+ push :
9
+ branches : [ master ]
10
+ pull_request :
11
+ branches : [ master ]
12
+
13
+ # Allows you to run this workflow manually from the Actions tab
14
+ workflow_dispatch :
15
+
16
+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
17
+ jobs :
18
+ # This workflow contains a single job called "build"
19
+ test :
20
+ # The type of runner that the job will run on
21
+ runs-on : ubuntu-latest
22
+ env :
23
+ COMPOSE_FILE : ./docker-compose.yml
24
+
25
+ # Steps represent a sequence of tasks that will be executed as part of the job
26
+ steps :
27
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
28
+ - uses : actions/checkout@v2
29
+
30
+ - name : env sync
31
+ run : cp .env.dist .env && export $(cat ./.env | xargs)
32
+
33
+ # Runs a single command using the runners shell
34
+ - name : build docker db
35
+ run : docker-compose up -d
36
+
37
+ - name : install
38
+ run : yarn install --ignore-scripts
39
+
40
+ - name : build
41
+ run : yarn build
42
+
43
+ - name : check docker
44
+ run : docker-compose up -d
45
+
46
+ # Runs a set of commands using the runners shell
47
+ - name : tests
48
+ run : yarn test
Original file line number Diff line number Diff line change 1
1
# typeorm-polymorphic
2
2
<a href =" https://www.npmjs.com/package/typeorm-polymorphic " ><img src =" https://img.shields.io/npm/v/typeorm-polymorphic.svg " /></a >
3
- <a href =" https://travis-ci.org/nestjsx /typeorm-paginate " >< img src = " https://travis-ci.org/nestjsx/typeorm-paginate .svg?branch=master " /></ a >
3
+ <img src =" https://github.com/bashleigh /typeorm-polymorphic/workflows/tests/badge .svg " / >
4
4
<img src =" https://camo.githubusercontent.com/a34cfbf37ba6848362bf2bee0f3915c2e38b1cc1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5052732d77656c636f6d652d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265 " />
5
5
6
6
An extension package for polymorphic relationship management, declaration and repository queries for [ typeorm] ( https://typeorm.io/ )
You can’t perform that action at this time.
0 commit comments