Skip to content

Commit be4798a

Browse files
committed
Change test:clear for test:ci in unit tests
1 parent bf1f7f4 commit be4798a

File tree

1 file changed

+25
-26
lines changed

1 file changed

+25
-26
lines changed

.github/workflows/unit-tests.yml

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,35 @@ on: [push]
44

55
jobs:
66
unit-tests:
7-
87
runs-on: ubuntu-latest
98

109
strategy:
1110
matrix:
1211
node-version: [8.x, 10.x, 12.x]
1312

1413
steps:
15-
- name: Checkout
16-
uses: actions/checkout@v1
17-
18-
- name: Setup Node ${{ matrix.node-version }}
19-
uses: actions/setup-node@v1
20-
with:
21-
node-version: ${{ matrix.node-version }}
22-
23-
- name: Setup npm cache
24-
uses: actions/cache@v1
25-
with:
26-
path: ~/.npm
27-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
28-
restore-keys: |
29-
${{ runner.os }}-node-
30-
31-
- name: Install dependencies
32-
run: npm ci
33-
env:
34-
CI: true
35-
36-
- name: Run unit tests
37-
run: npm run test:clear
38-
env:
39-
CI: true
14+
- name: Checkout
15+
uses: actions/checkout@v1
16+
17+
- name: Setup Node ${{ matrix.node-version }}
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
22+
- name: Setup npm cache
23+
uses: actions/cache@v1
24+
with:
25+
path: ~/.npm
26+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
27+
restore-keys: |
28+
${{ runner.os }}-node-
29+
30+
- name: Install dependencies
31+
run: npm ci
32+
env:
33+
CI: true
34+
35+
- name: Run unit tests
36+
run: npm run test:ci
37+
env:
38+
CI: true

0 commit comments

Comments
 (0)