File tree 1 file changed +47
-4
lines changed
1 file changed +47
-4
lines changed Original file line number Diff line number Diff line change 45
45
46
46
- run : npm ci
47
47
48
- tests :
48
+ test-unit :
49
49
needs : build
50
50
runs-on : ubuntu-latest
51
51
57
57
with :
58
58
name : docker-compose-installer
59
59
60
- - name : Install Docker Compose
61
- run : bash install-docker-compose.sh
62
-
63
60
- name : Cache Node.js modules
64
61
uses : actions/cache@v3
65
62
with :
71
68
${{ runner.os }}-node-
72
69
73
70
- run : npm test
71
+
72
+ test-nestjs :
73
+ needs : build
74
+ runs-on : ubuntu-latest
75
+
76
+ steps :
77
+ - uses : actions/checkout@v2
78
+
79
+ - name : Download Docker Compose Installer Artifact
80
+ uses : actions/download-artifact@v3
81
+ with :
82
+ name : docker-compose-installer
83
+
84
+ - name : Cache Node.js modules
85
+ uses : actions/cache@v3
86
+ with :
87
+ path : |
88
+ ~/.npm
89
+ node_modules
90
+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
91
+ restore-keys : |
92
+ ${{ runner.os }}-node-
93
+
74
94
- run : npm run test:nestjs
95
+
96
+ test-mocha :
97
+ needs : build
98
+ runs-on : ubuntu-latest
99
+
100
+ steps :
101
+ - uses : actions/checkout@v2
102
+
103
+ - name : Download Docker Compose Installer Artifact
104
+ uses : actions/download-artifact@v3
105
+ with :
106
+ name : docker-compose-installer
107
+
108
+ - name : Cache Node.js modules
109
+ uses : actions/cache@v3
110
+ with :
111
+ path : |
112
+ ~/.npm
113
+ node_modules
114
+ key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
115
+ restore-keys : |
116
+ ${{ runner.os }}-node-
117
+
75
118
- run : npm run test:mocha
You can’t perform that action at this time.
0 commit comments