Skip to content

Merge pull request #120 from iamelevich/renovate/node-20.x-lockfile #483

Merge pull request #120 from iamelevich/renovate/node-20.x-lockfile

Merge pull request #120 from iamelevich/renovate/node-20.x-lockfile #483

Workflow file for this run

name: Lint and Test
on:
push:
branches:
- master
pull_request:
paths-ignore:
- '*.md'
- 'docs/**'
jobs:
test:
strategy:
matrix:
node-version: [16, 18, 20]
runs-on: ubuntu-latest
name: Test Node.js ${{ matrix.node-version }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js, PNPM and install deps
uses: ./.github/actions/setup-with-deps-action
with:
node-version: ${{ matrix.node-version }}
- name: Test and Coverage
run: pnpm test:coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
files: coverage/lcov.info
name: ${{ matrix.node-version }}
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js, PNPM and install deps
uses: ./.github/actions/setup-with-deps-action
with:
node-version: 20
- name: Lint
run: pnpm lint