Support Meteor 3 #778
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: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
strategy: | |
fail-fast: false | |
matrix: | |
meteorRelease: | |
- '--release 3.0' | |
- '--release 3.0.3' | |
# latest release | |
- | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'npm' | |
node-version: 18 | |
- name: Install Dependencies | |
run: | | |
curl https://install.meteor.com | /bin/sh | |
npm i -g @zodern/mtest | |
npm ci | |
- name: Run Tests | |
run: | | |
echo "Env: $NODE_ENV" | |
export FORCE_COLOR=true | |
export NODE_ENV=test | |
mtest --package ./ --once ${{ matrix.meteorRelease }} |