Skip to content
play

GitHub Action

Setup Meteor.js environment

v2.0.0 Latest version

Setup Meteor.js environment

play

Setup Meteor.js environment

Setup a Meteor.js and add it to the PATH

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Setup Meteor.js environment

uses: meteorengineer/setup-meteor@v2.0.0

Learn more about this action in meteorengineer/setup-meteor

Choose a version

setup-meteor

This action sets up meteor environment for use in actions.

Usage

See action.yml

Basic:

steps:
- uses: actions/checkout@v2
- uses: meteorengineer/setup-meteor@v2
  with:
    meteor-release: '1.8.1'
- run: meteor npm install
- run: meteor npm test

Matrix Testing:

jobs:
  build:
    runs-on: ubuntu-16.04
    strategy:
      matrix:
        meteor: [ '1.8.1', '1.9-beta.3' ]
    name: Meteor ${{ matrix.meteor }} sample
    steps:
      - uses: actions/checkout@v1
      - name: Setup meteor
        uses: meteorengineer/setup-meteor@v2
        with:
          meteor-release: ${{ matrix.meteor }}
      - run: meteor npm install
      - run: meteor npm test

License

The scripts and documentation in this project are released under the MIT License