Skip to content

Merge pull request #710 from tidev/dependabot/npm_and_yarn/eslint/plu… #1092

Merge pull request #710 from tidev/dependabot/npm_and_yarn/eslint/plu…

Merge pull request #710 from tidev/dependabot/npm_and_yarn/eslint/plu… #1092

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
test:
name: Test on node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node: [18, 20, 22.5.1]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Install dependencies
run: pnpm install
- name: Lint
run: pnpm lint
- name: Run tests
run: pnpm coverage