Skip to content

Merge pull request #1 from axe-api/dependabot/npm_and_yarn/eslint-plu… #17

Merge pull request #1 from axe-api/dependabot/npm_and_yarn/eslint-plu…

Merge pull request #1 from axe-api/dependabot/npm_and_yarn/eslint-plu… #17

Workflow file for this run

name: Tests
on:
push:
branches:
- main
jobs:
units:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run test
linting:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 20.x ]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint