File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 27
27
with :
28
28
node-version : ${{ matrix.node-version }}
29
29
cache : ' npm'
30
+ - run : npm ci
31
+ - run : npm run build --if-present
32
+ - name : Start server
33
+ env :
34
+ USER_DB_USER : ${{secrets.USER_DB_USER}}
35
+ USER_DB_PW : ${{secrets.USER_DB_PW}}
36
+ USER_DB_URL : ${{secrets.USER_DB_URL}}
37
+ run : npm start
38
+ - name : Run test suites
30
39
env :
31
40
MYSQL_TEST_URL : ${{secrets.MYSQL_TEST_URL}}
32
41
MYSQL_TEST_USERNAME : ${{secrets.MYSQL_TEST_USERNAME}}
36
45
PG_TEST_PW : ${{secrets.PG_TEST_PW}}
37
46
TEST_USER_EMAIL : ${{secrets.TEST_USER_EMAIL}}
38
47
TEST_USER_PW : ${{secrets.TEST_USER_PW}}
39
- USER_DB_USER : ${{secrets.USER_DB_USER}}
40
- USER_DB_PW : ${{secrets.USER_DB_PW}}
41
- USER_DB_URL : ${{secrets.USER_DB_URL}}
42
- SSL_KEY : ${{secrets.SSL_KEY}}
43
- SSL_CERT : ${{secrets.SSL_CERT}}
44
- - run : npm ci
45
- - run : npm run build --if-present
46
- - run : npm start
47
- - run : npm test
48
+ run : npm test
48
49
- name : Archive production artifacts
49
50
uses : actions/upload-artifact@v3
50
51
with :
You can’t perform that action at this time.
0 commit comments