Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish_canary_npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
node-version: 10
registry-url: 'https://registry.npmjs.org'
- uses: microsoft/playwright-github-action@v1
- uses: microsoft/playwright-github-action@v1.4.2
- run: npm ci
- run: npm run build
- run: node utils/update_version.js --next
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
node-version: 10
registry-url: 'https://registry.npmjs.org'
- uses: microsoft/playwright-github-action@v1
- uses: microsoft/playwright-github-action@v1.4.2
- run: npm ci
- run: npm run build
- run: utils/publish_all_packages.sh --release
Expand Down
23 changes: 12 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,19 @@ env:

jobs:
test_linux:
name: "Linux"
name: ${{ matrix.os }} (${{ matrix.browser }})
strategy:
fail-fast: false
matrix:
browser: [chromium, firefox, webkit]
runs-on: ubuntu-18.04
os: [ubuntu-18.04, ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 10
- uses: microsoft/playwright-github-action@v1
- uses: microsoft/playwright-github-action@v1.4.2
- run: npm ci
- run: npm run build
- run: mkdir -p coredumps
Expand All @@ -45,17 +46,17 @@ jobs:
- uses: actions/upload-artifact@v1
if: ${{ always() }}
with:
name: ${{ matrix.browser }}-linux-jest-report
name: ${{ matrix.browser }}-${{ matrix.os }}-jest-report
path: jest-report.json
- uses: actions/upload-artifact@v1
if: failure()
with:
name: ${{ matrix.browser }}-linux-output
name: ${{ matrix.browser }}-${{ matrix.os }}-output
path: test/output-${{ matrix.browser }}
- uses: actions/upload-artifact@v1
if: ${{ always() }}
with:
name: ${{ matrix.browser }}-linux-testrun.log
name: ${{ matrix.browser }}-${{ matrix.os }}-testrun.log
path: testrun.log

test_mac:
Expand All @@ -70,7 +71,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 10
- uses: microsoft/playwright-github-action@v1
- uses: microsoft/playwright-github-action@v1.4.2
- run: npm ci
- run: npm run build
- run: npm run jest -- --testTimeout=30000
Expand Down Expand Up @@ -109,7 +110,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 10
- uses: microsoft/playwright-github-action@v1
- uses: microsoft/playwright-github-action@v1.4.2
- run: npm ci
- run: npm run build
- run: npm run jest -- --testTimeout=30000
Expand Down Expand Up @@ -148,7 +149,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- uses: microsoft/playwright-github-action@v1
- uses: microsoft/playwright-github-action@v1.4.2
- run: npm ci
- run: npm run build
- run: bash packages/installation-tests/installation-tests.sh
Expand All @@ -165,7 +166,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 10
- uses: microsoft/playwright-github-action@v1
- uses: microsoft/playwright-github-action@v1.4.2
- run: npm ci
- run: npm run build
- run: mkdir -p coredumps
Expand Down Expand Up @@ -204,7 +205,7 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 10
- uses: microsoft/playwright-github-action@v1
- uses: microsoft/playwright-github-action@v1.4.2
- run: npm ci
- run: npm run build
- run: mkdir -p coredumps
Expand Down