Merge pull request #26 from mattjennings/chore/upgrade-deps #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
node: [16] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- uses: pnpm/[email protected] | |
with: | |
version: 6 | |
- name: Install dependencies | |
run: pnpm i | |
- name: Install Playwright | |
run: npx playwright install --with-deps | |
- name: Run your tests | |
run: pnpm test | |
- name: Upload test results | |
if: always() | |
uses: actions/upload-artifact@v2 | |
with: | |
name: playwright-results | |
path: test-results |