⬆️ deps: Upgrade dependency zod to v3.22.3 [SECURITY] #2544
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 |