Skip to content

Get "deprecated installed package test" work #61

Get "deprecated installed package test" work

Get "deprecated installed package test" work #61

# This workflow will do a clean install of node dependencies, check the linting and run tests across different versions of node.
name: Automated Tests
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
node-version: [22, 20, 18]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
cache-dependency-path: pnpm-lock.yaml
node-version: ${{ matrix.node-version }}
check-latest: true
cache: npm
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm --silent install
- name: Check linting
run: pnpm run lint
- name: Run tests
run: pnpm run test