Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
19 changes: 13 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,21 @@ on:

jobs:
tests:
name: tests
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '12', '14' ]
name: Tests (Node.js ${{ matrix.node }})
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: yarn install
- name: Run tests
run: yarn run test
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Install dependencies
run: yarn install
- name: Run tests
run: yarn run test

linter:
name: linter-check
Expand Down
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ First of all, thank you for contributing to MeiliSearch! The goal of this docume

## Development Workflow

### Requirements <!-- omit in TOC -->

To run this project, you will need:

- Node.js >= v12 and node < 15
- Yarn

### Setup <!-- omit in TOC -->

```bash
Expand Down
6 changes: 5 additions & 1 deletion bors.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
status = ['tests', 'linter-check']
status = [
'linter-check',
'Tests (Node.js 12)',
'Tests (Node.js 14)'
]
# 1 hour timeout
timeout-sec = 3600