-
Notifications
You must be signed in to change notification settings - Fork 10
36 lines (32 loc) · 921 Bytes
/
node.js.yml
File metadata and controls
36 lines (32 loc) · 921 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
name: Test suite
on:
push:
branches:
- master
- develop
pull_request:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
meteor: ["2.3.7", "2.5.6", "2.6"]
name: Tests with Meteor version ${{ matrix.meteor }}
steps:
- name: checkout
uses: actions/checkout@v2
- name: Setup meteor
uses: meteorengineer/setup-meteor@v1
with:
meteor-release: ${{ matrix.meteor }}
- name: cache dependencies
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: cd test-proxy && meteor update --release ${{matrix.meteor}}
- run: cd test-proxy && meteor npm ci
- run: cd test-proxy && meteor npm run lint
- run: cd test-proxy && meteor npm run test