Skip to content

Commit 5276cdf

Browse files
authored
Try #155:
2 parents 20b9bf7 + 004ae31 commit 5276cdf

File tree

3 files changed

+25
-7
lines changed

3 files changed

+25
-7
lines changed

.github/workflows/tests.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,21 @@ on:
1111

1212
jobs:
1313
tests:
14-
name: tests
1514
runs-on: ubuntu-latest
15+
strategy:
16+
matrix:
17+
node: [ '12', '14' ]
18+
name: Tests (Node.js ${{ matrix.node }})
1619
steps:
17-
- uses: actions/checkout@v2
18-
- name: Install dependencies
19-
run: yarn install
20-
- name: Run tests
21-
run: yarn run test
20+
- uses: actions/checkout@v2
21+
- name: Setup node
22+
uses: actions/setup-node@v1
23+
with:
24+
node-version: ${{ matrix.node }}
25+
- name: Install dependencies
26+
run: yarn install
27+
- name: Run tests
28+
run: yarn run test
2229

2330
linter:
2431
name: linter-check

CONTRIBUTING.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ First of all, thank you for contributing to MeiliSearch! The goal of this docume
2626

2727
## Development Workflow
2828

29+
### Requirements <!-- omit in TOC -->
30+
31+
To run this project, you will need:
32+
33+
- Node.js >= v12 and node < 15
34+
- Yarn
35+
2936
### Setup <!-- omit in TOC -->
3037

3138
```bash

bors.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1-
status = ['tests', 'linter-check']
1+
status = [
2+
'linter-check',
3+
'Tests (Node.js 12)',
4+
'Tests (Node.js 14)'
5+
]
26
# 1 hour timeout
37
timeout-sec = 3600

0 commit comments

Comments
 (0)