mirror of
https://github.com/dadosfera/maestro.git
synced 2026-08-31 19:58:21 +00:00
NPM Test
This commit is contained in:
@@ -7,12 +7,20 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
test:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
ENV: ${{ steps.extract_environment.outputs.result }}
|
||||
IMAGE_TAG: latest
|
||||
run: |
|
||||
export ENV=$ENV
|
||||
docker-compose -f build.docker-compose.yml build
|
||||
|
||||
- name: NPM Run Test
|
||||
run: |
|
||||
npm run test
|
||||
docker-compose run --rm maestro npm run test
|
||||
|
||||
Reference in New Issue
Block a user