Skip to content

πŸš€ config(deploy): Use MongoDB 5.0 in mup config. #2538

πŸš€ config(deploy): Use MongoDB 5.0 in mup config.

πŸš€ config(deploy): Use MongoDB 5.0 in mup config. #2538

Workflow file for this run

name: ci:test
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
name: Continuous integration (tests)
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3
- name: Cache ~/.cache/puppeteer 🎭
uses: actions/cache@v3
id: cache-puppeteer
env:
cache-name: cache-puppeteer
with:
path: ~/.cache/puppeteer
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- name: Install πŸ’Ύ
uses: meteor-actions/install@v3
- name: Cache build πŸ’½
uses: meteor-actions/cache-build@v3
with:
key: test
- name: Tests πŸ”¬
run: meteor npm run ci:test
- name: Publish coverage report πŸ“°
uses: codecov/codecov-action@v3
with:
flags: test
directory: ./.coverage/
fail_ci_if_error: true
test-app:
name: Continuous integration (app tests)
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v3
- name: Cache ~/.cache/puppeteer 🎭
uses: actions/cache@v3
id: cache-puppeteer
env:
cache-name: cache-puppeteer
with:
path: ~/.cache/puppeteer
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
- name: Install πŸ’Ύ
uses: meteor-actions/install@v3
- name: Cache build πŸ’½
uses: meteor-actions/cache-build@v3
with:
key: test-app
- name: App Tests πŸ•ΉοΈ
run: meteor npm run ci:test -- --full-app
- name: Publish coverage report πŸ“°
uses: codecov/codecov-action@v3
with:
flags: test-app
directory: ./.coverage/
fail_ci_if_error: true