mirror of
https://github.com/docsifyjs/docsify.git
synced 2026-10-28 19:38:15 +08:00
Update test.yml
This commit is contained in:
@@ -17,7 +17,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
node-version: [10.x, 12.x, 14.x]
|
||||
os: [macos-latest, ubuntu-latest, windows-latest]
|
||||
os: ['macos-latest', 'ubuntu-latest', 'windows-latest']
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
@@ -32,10 +32,10 @@ jobs:
|
||||
- name: unit tests (jest+playwright)
|
||||
run: npm run test:jest-unit -- -ci
|
||||
- uses: microsoft/playwright-github-action@v1.3.0
|
||||
- if: matrix.os == "macos-latest"
|
||||
- if: matrix.os == 'macos-latest'
|
||||
name: e2e tests (maxWorkers=50%)
|
||||
run: npm run test:jest-e2e -- -ci --maxWorkers=50%
|
||||
- if: matrix.os != "macos-latest"
|
||||
- if: matrix.os != 'macos-latest'
|
||||
name: e2e tests
|
||||
run: npm run test:jest-e2e -- -ci
|
||||
- name: Upload artifacts (diff output)
|
||||
|
||||
Reference in New Issue
Block a user