-
-
Notifications
You must be signed in to change notification settings - Fork 17
34 lines (29 loc) · 995 Bytes
/
testsuite.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
# 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
- develop
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@v4
- name: Setup meteor
uses: meteorengineer/setup-meteor@v1
with:
meteor-release: '2.14'
- name: cache dependencies
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: cd tests && meteor npm install && meteor npm run test