Skip to content

feat(): Add environment support #351

feat(): Add environment support

feat(): Add environment support #351

name: medusa-plugin-prometheus
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
unit-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-verion: [16.x]
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-verion }}
- name: 'yarn install'
working-directory: ./packages/medusa-plugin-prometheus
run: yarn
- name: 'run unit tests'
working-directory: ./packages/medusa-plugin-prometheus
run: yarn run test