Skip to content

refactor: add serverContainer #1

refactor: add serverContainer

refactor: add serverContainer #1

name: Check On Commit
on:
push:
paths:
- 'plugin/global/locales/**'
- 'plugin/global/settings/**'
- 'plugin/preferences/**'
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./develop
strategy:
matrix:
node-version: [20.x, 22.x]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: develop/package-lock.json
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test