Merge pull request #262 from eXist-db/dependabot/npm_and_yarn/picomat… #27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: [push, pull_request] | |
| # Tests cannot run on windows due to issues with the windows server 2019 images | |
| # the github action runners are using not being able to run linux docker images | |
| # https://github.com/actions/virtual-environments/issues/1143 | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| # Exist latest is in development, so failures are allowed, but valuable to log | |
| continue-on-error: ${{ matrix.exist-version == 'latest' }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| node-version: [20, 22, 24] | |
| exist-version: [latest, release, 5.5.1, 4.11.1] | |
| services: | |
| exist: | |
| image: existdb/existdb:${{ matrix.exist-version }} | |
| ports: | |
| - 8080:8080 | |
| - 8443:8443 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up NodeJS v${{ matrix.node-version }} | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'npm' | |
| - run: npm ci | |
| - run: npm test |