Skip to content

Feature/36802

Feature/36802 #2

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
directory: [
'dhl-commercetools-events',
'dhl-commercetools-custom-application'
]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
cache: 'yarn'
cache-dependency-path: ${{ matrix.directory }}/yarn.lock
- name: Install dependencies
run: yarn
working-directory: ${{ matrix.directory }}
- name: Build project
run: yarn build
working-directory: ${{ matrix.directory }}