Skip to content

Create CODE_OF_CONDUCT.md #32

Create CODE_OF_CONDUCT.md

Create CODE_OF_CONDUCT.md #32

Workflow file for this run

name: Test suite
on:
push:
branches:
- master
- develop
pull_request:
jobs:
tests:
name: Meteor tests
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
# CACHING
- name: Install Meteor
id: cache-meteor-install
uses: actions/cache@v3
with:
path: ~/.meteor
key: v3-meteor-${{ hashFiles('.meteor/versions') }}
restore-keys: |
v3-meteor-
- name: Cache NPM dependencies
id: cache-meteor-npm
uses: actions/cache@v3
with:
path: ~/.npm
key: v3-npm-${{ hashFiles('package-lock.json') }}
restore-keys: |
v3-npm-
- name: Cache Meteor build
id: cache-meteor-build
uses: actions/cache@v3
with:
path: |
.meteor/local/resolver-result-cache.json
.meteor/local/plugin-cache
.meteor/local/isopacks
.meteor/local/bundler-cache/scanner
key: v3-meteor_build_cache-${{ github.ref }}-${{ github.sha }}
restore-key: |
v3-meteor_build_cache-
- name: Setup meteor
uses: meteorengineer/setup-meteor@v1
with:
meteor-release: '2.8.1'
- name: Run lint and tests
run: |
cd test-proxy
meteor npm install
meteor npm run setup
meteor npm run lint
meteor npm run test