-
Notifications
You must be signed in to change notification settings - Fork 107
37 lines (32 loc) · 975 Bytes
/
pre-release-tests.yml
File metadata and controls
37 lines (32 loc) · 975 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Testing the code base against the Meilisearch pre-releases
name: Pre-Release Tests
env:
HUSKY: 0
NODE_OPTIONS: "--trace-warnings"
# Will only run for PRs and pushes to bump-meilisearch-v*
on:
pull_request:
branches:
- "bump-meilisearch-v**"
- "pre-release-beta/**"
push:
branches:
- "bump-meilisearch-v**"
- "pre-release-beta/**"
jobs:
integration_tests:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || startsWith(github.base_ref, 'bump-meilisearch-v') || startsWith(github.base_ref, 'pre-release-beta')
strategy:
matrix:
node-version: ["20", "22"]
name: integration-tests (Node.js ${{ matrix.node-version }})
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/set-up-node
with:
node-version: ${{ matrix.node-version }}
- name: Set up Meilisearch
run: docker compose up -d
- name: Run tests
run: pnpm test