Skip to content

Merge pull request #4 from StorytellerCZ/feature/meteor-3 #10

Merge pull request #4 from StorytellerCZ/feature/meteor-3

Merge pull request #4 from StorytellerCZ/feature/meteor-3 #10

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Test suite
on:
push:
branches:
- master
pull_request:
jobs:
tests:
name: tests
runs-on: ubuntu-latest
# needs: [lintcode,lintstyle,lintdocs] # we could add prior jobs for linting, if desired
steps:
- name: checkout
uses: actions/checkout@v2
- name: Setup meteor
uses: meteorengineer/setup-meteor@v1
with:
meteor-release: '2.8.0'
- name: cache dependencies
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: meteor npm install && meteor npm run test-ci