Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 24 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,26 @@ jobs:
strategy:
matrix:
include:
- name: Node 18
- name: Node 18, Parse Server 7
NODE_VERSION: 18.20.4
- name: Node 20
PARSE_SERVER_VERSION: 7
- name: Node 20, Parse Server 7
NODE_VERSION: 20.15.1
- name: Node 22
PARSE_SERVER_VERSION: 7
- name: Node 22, Parse Server 7
NODE_VERSION: 22.4.1
PARSE_SERVER_VERSION: 7
- name: Node 18, Parse Server 8
NODE_VERSION: 18.20.4
PARSE_SERVER_VERSION: 8
- name: Node 20, Parse Server 8
NODE_VERSION: 20.15.1
PARSE_SERVER_VERSION: 8
- name: Node 22, Parse Server 8
NODE_VERSION: 22.4.1
PARSE_SERVER_VERSION: 8
fail-fast: false
name: Build - ${{ matrix.name }}
steps:
- name: Fix usage of insecure GitHub protocol
run: sudo git config --system url."https://github".insteadOf "git://github"
Expand All @@ -93,11 +106,14 @@ jobs:
with:
node-version: ${{ matrix.NODE_VERSION }}
cache: npm
- run: npm ci
# Run unit tests
- run: npm test -- --maxWorkers=4
# Run integration tests
- run: npm run test:mongodb
- name: Install Parse Server ${{ matrix.PARSE_SERVER_VERSION }}
run: npm i -DE parse-server@${{ matrix.PARSE_SERVER_VERSION }}
- name: Install dependencies
run: npm ci
- name: Run unit tests
run: npm test -- --maxWorkers=4
- name: Run integration tests
run: npm run test:mongodb
env:
CI: true
- name: Upload code coverage
Expand Down
Loading