generated from ics-software-engineering/meteor-application-template-react
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (31 loc) · 798 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
38
39
40
41
name: ci-meteor-application-template-production
on:
push:
branches:
- main
defaults:
run:
working-directory: ./app
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-v5-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- uses: actions/setup-node@v1
with:
node-version: '16.x'
- run: npm ci
- run: npm install -g meteor
- name: Run Meteor commands
shell: bash -l {0}
run: |
meteor npm install
meteor npm run lint
# meteor npm run testcafe-ci