Skip to content

Add test:e2e target #38

Add test:e2e target

Add test:e2e target #38

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
testing:
name: Testing on Node v${{ matrix.node }}
runs-on: ubuntu-latest
strategy:
matrix:
node: [22, 20]
steps:
- name: Checking out
uses: actions/checkout@v4
- name: Use Node.js v${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "npm"
- name: Install NPM dependencies
run: npm ci
- name: Check lint
run: npm run lint
- name: Check build
run: npm run build
- name: Run NPM tests
run: npm run test