File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Install Node and dependencies'
2
+
3
+ description : ' Set up Node and dependencies'
4
+ runs :
5
+ using : composite
6
+ steps :
7
+ - name : Use Node.js 20.x
8
+ uses : actions/setup-node@v3
9
+ with :
10
+ node-version : ' 20.x'
11
+ - name : Install dependencies
12
+ shell : bash
13
+ run : npm install
Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - main
8
+
9
+ jobs :
10
+ integration-test :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v3
15
+ - name : Install Node and dependencies
16
+ uses : ./.github/actions/install
17
+ - name : Start PostgreSQL Database
18
+ run : |
19
+ docker-compose up -d && sleep 5s
20
+ - name : Start migration
21
+ run : npm run test:migrate
22
+ - name : Run integration tests
23
+ run : npm run test:integration
You can’t perform that action at this time.
0 commit comments