Skip to content

refactor code to several files #1

refactor code to several files

refactor code to several files #1

Workflow file for this run

name: Test
on:
push:
branches: ["**"]
workflow_dispatch:
jobs:
test-commit:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 22]
name: Test repo on Node.js ${{ matrix.node }}
steps:
- uses: actions/checkout@v4
name: "Checkout repo"
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
registry-url: https://registry.npmjs.org/
name: "Install Node.js"
- run: npm ci
name: "Install dependencies"
- run: npm test
name: "Run tests"