Skip to content

Bump codecov/codecov-action from 3 to 4 #80

Bump codecov/codecov-action from 3 to 4

Bump codecov/codecov-action from 3 to 4 #80

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [16, 18, 20]
name: Node ${{ matrix.node }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install
run: npm install
- name: Install Playwright
if: matrix.node == 16
run: npx playwright install --with-deps
- name: Test
run: npm test
- name: Test browsers
if: matrix.node == 16
run: npm run test-browsers-local
- name: Coverage
run: npm run coverage
- name: Codecov
uses: codecov/codecov-action@v4
with:
file: coverage/lcov.info