π©βπ» dx: Initialize global CODEOWNERS. #2542
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci:test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
merge_group: | |
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 |