Skip to content

Bump actions/checkout from 3 to 4 #83

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #83

Workflow file for this run

name: Test
on: [push, pull_request]
permissions:
contents: read
jobs:
node:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 22]
name: Node.js ${{ matrix.node }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install
run: npm install --ignore-scripts
- name: Test
run: npm test
- name: Coverage
run: npm run coverage
- name: Codecov
uses: codecov/codecov-action@v3
with:
file: coverage/lcov.info
browsers:
name: Browsers
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install
run: npm install --ignore-scripts
- name: Install Playwright dependencies
run: npx --no-install playwright install-deps
- name: Install Playwright
run: npx --no-install playwright install
- name: Test
run: npm run test-browsers