-
Notifications
You must be signed in to change notification settings - Fork 32
37 lines (29 loc) · 896 Bytes
/
CI.yml
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
name: CI
on:
pull_request:
push:
branches:
- master
jobs:
CI:
runs-on: ubuntu-latest
strategy:
matrix:
meteor-version: ['2.5.6', '2.6.1', '?'] # ? - latest meteor version
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Check dependency duplications
uses: vazco/open-standards/actions/npm-dependency-duplications/@master
- name: Check dependency vulnerabilities
uses: vazco/open-standards/actions/npm-dependency-vulnerabilities/@master
- name: Install Meteor
env:
METEOR_VERSION: ${{ matrix.meteor-version }}
run: curl https://install.meteor.com/?release=$METEOR_VERSION | /bin/sh
- name: Install dependencies
run: meteor npm install
- name: Lint
run: meteor npm run lint:ts
- name: Run tests
run: meteor npm run test:CI