Skip to content

Commit a347b22

Browse files
committed
fix CI tests
1 parent 3c3e13d commit a347b22

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,20 @@ jobs:
3333
node-version: ${{ matrix.node-version }}
3434
- run: npm install
3535
- name: Run test with Node.js ${{ matrix.node-version }}
36-
run: npm run pretest; npm run test-node; npm run posttest
37-
# test-karma:
38-
# needs: [lint]
39-
# runs-on: ubuntu-latest
40-
# timeout-minutes: 10
41-
# strategy:
42-
# matrix:
43-
# node-version: [16.x]
44-
# steps:
45-
# - uses: actions/checkout@v2
46-
# - name: Use Node.js ${{ matrix.node-version }}
47-
# uses: actions/setup-node@v1
48-
# with:
49-
# node-version: ${{ matrix.node-version }}
50-
# - run: npm install
51-
# - name: Run karma test
52-
# run: npm run pretest; npm run test-karma; npm run posttest
36+
run: npm run test-node
37+
test-karma:
38+
needs: [lint]
39+
runs-on: ubuntu-latest
40+
timeout-minutes: 10
41+
strategy:
42+
matrix:
43+
node-version: [18.x]
44+
steps:
45+
- uses: actions/checkout@v2
46+
- name: Use Node.js ${{ matrix.node-version }}
47+
uses: actions/setup-node@v1
48+
with:
49+
node-version: ${{ matrix.node-version }}
50+
- run: npm install
51+
- name: Run karma test
52+
run: npm run test-karma

0 commit comments

Comments
 (0)