Skip to content

Merge pull request #149 from Azure-Samples/alkwa/action-reuse #4

Merge pull request #149 from Azure-Samples/alkwa/action-reuse

Merge pull request #149 from Azure-Samples/alkwa/action-reuse #4

Workflow file for this run

name: 'UI Library projects CI'
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
ci:
# The type of runner that the job will run on
runs-on: ${{ inputs.runs-on }}
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
# Install Node version
- name: Use Node.js ${{ inputs.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ inputs.node-version }}
# Install dependencies for project
- name: Install dependencies
working-directory: ${{ inputs.working-directory }}
run: npm install
# Build project
- name: Build
working-directory: ${{ inputs.working-directory }}
run: npm run build