diff --git a/.github/workflows/jest.yml b/.github/workflows/jest.yml new file mode 100644 index 0000000..46524a2 --- /dev/null +++ b/.github/workflows/jest.yml @@ -0,0 +1,31 @@ +name: Jest +permissions: + contents: read + +on: + - push + - pull_request + +jobs: + jest: + name: Jest + runs-on: ubuntu-latest + + strategy: + fail-fast: false + matrix: + node-version: ['20', '22', '24'] + + steps: + - uses: actions/checkout@v6 + + - uses: actions/setup-node@v6 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + + - name: dependencies + run: npm ci + + - name: jest + run: npm run all diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 299edfa..d748013 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -3,8 +3,8 @@ permissions: contents: read on: - - pull_request - push + - pull_request env: PYTHON_LATEST_VERSION: '3.14'