Skip to content

feat: migration to UI5 Tooling V3 #283

feat: migration to UI5 Tooling V3

feat: migration to UI5 Tooling V3 #283

Workflow file for this run

name: "Tests: middleware(s) + task(s)"
on:
pull_request:
branches: [main]
env:
HUSKY_SKIP: true
jobs:
build:
runs-on: ubuntu-latest
if: "! contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/[email protected]
with:
version: 8.6.0
run_install: false
- id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
- uses: actions/cache@v3
name: Setup pnpm-cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
# test executes all task extensions
- name: Build app
run: pnpm build
- name: Run tests on middlewares + tasks
run: pnpm run test:all