Skip to content

Merge pull request #1 from natura-jenkins/TL-1-teste-workflow #1

Merge pull request #1 from natura-jenkins/TL-1-teste-workflow

Merge pull request #1 from natura-jenkins/TL-1-teste-workflow #1

Workflow file for this run

name: Build Artifact and Deploy
on:
push:
branches:
- main
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
tags:
description: 'Test scenario tags'
required: false
type: boolean
environment:
description: 'Environment to run tests against'
type: environment
required: true
env:
AZURE_WEBAPP_NAME: my-app-name # set this to your application's name
AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
NODE_VERSION: '16.x' # set this to the node version to use
jobs:
ci:
name: CI
uses: ./.github/workflows/ci.yaml
build:
needs: ci
name: Build
uses: ./.github/workflows/build.yaml

Check failure on line 41 in .github/workflows/deploy.yaml

View workflow run for this annotation

GitHub Actions / Build Artifact and Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yaml (Line: 41, Col: 11): Input NODE_VERSION is required, but not provided while calling.
deploy-dev:
needs: build
strategy:
fail-fast: true
matrix:
target: [Development, Perfornance, Quality]
uses: ./.github/workflows/deployment.yaml
with:
target-env: ${{ matrix.target }}
secrets: inherit
functional-test:
needs: deploy-dev
name: Functional Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Test Functional
run: echo "Test Functional"
deploy-prd:
needs: functional-test
strategy:
fail-fast: true
matrix:
target: [Production]
uses: ./.github/workflows/deployment.yaml
with:
target-env: ${{ matrix.target }}
secrets: inherit